Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Can reading, deleting and sending email be done for more than 1 mail profile with MAPI functions?

Can reading, deleting and sending email be done for more than 1 mail profile with MAPI functions?

When using a MAPI script for reading, deleting and sending e-mails, this has the same limitations as the actual mail client - the functions called will apply to the active mail profile.

As Silk Performer uses the mail client MAPI API, Outlook in most cases, Silk Performer cannot ask the client to do something which it is unable to do normally. You cannot add script logic to use a different / dynamic profile as the actions are performed by the client, which cannot have two active profiles. This is a limitation of the mail client rather than SilkPerformer.

You can specify who the email is sent from in the script in the MapiSendMessage() function however this is only the message properties, the message will still be sent from the active profile owner.

Using Silk Performer agents allows you to send mail from different profiles e.g. using a different mail profile on each agent.

An alternative to MAPI is using SMTP, see help for full details.

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 20:38
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.