cancel
Showing results for 
Search instead for 
Did you mean: 

How to set the sender of email using MAPIEx?

TetsujiJunicho
Level 9
Hi When using MAPIEx, is it possible to set the sender other than login user such as a group mail address? Regards,
5 REPLIES 5

erick_tauil
Level 3
It can be done. Just need to inform the group email address in the from (data item) from MAPIEx. Just a quick reminder that MAPIEx is not designed to work with Outlook 64-bit.

TetsujiJunicho
Level 9
Hi erick Thanks for your reply. I don't think MAPIEx's Send Mail action have ""From"" input. Are you saying the ""From"" text box of New Mail form of Outlook? Is it the only solution?

Are you saying the ""From"" text box of New Mail form of Outlook? Yes from Outlook (map button with Win32 Spy Mode if your Outlook is 64bits and if you want to work) and From parameter of the data item in the Send Message page from MAPIEx object.

TetsujiJunicho
Level 9
Hi I found the sender method of ""public string SenderEmail { get; set; }"" in BluePrismMAPIExAutomation.dll. I've tried to set the sender email address in Code Stage, but it hasn't worked. Any suggestions? Regards,

TetsujiJunicho
Level 9
What's wrong with the code of ""set sender info""? ====================================== Using msg As New BPMAPIMessage() If Not msg.Create(mapi) Then Throw New MAPIException( _ ""Failed to create message"") msg.Subject = Subject msg.Body = Message ' Set Sender Info msg.SenderEmail = SenderEmail msg.SenderName = SenderName ====================================== Regards,