Skip to main content

GetSMTPAddressCCRecipientsString returns name instead of email address in OutlookV2.mbot

Before you can Get/Read Info or Properties of a Mail, Appointment or Meeting Request by Callingcorresponding methods,e.g.GetSenderSMTPAddress, GetAppointmentDurationInMinutes, GetMeetingRequestBody, etc., you will need to first call the SelectMailItem, SelectAppointment or SelectMeetingRequest,GetSmtpAddressURL one time to preselect a specific item you are working with. Once an item is selected then you can call any number of Get/Read Functions following that. Refer to the sample tasks for example. Credential vault needs to be configured for GetSmtpAddressURL parameters. Credential Name – SetSMTPAddress, Attribute name & value below The value of SetPR_SMTP_ADDRES-“http://schemas.microsoft.com/mapi/proptag/0x39FE001E”The value of SetPR_SENT_REPRESENTING_ENTRYID- “http://schemas.microsoft.com/mapi/proptag/0x00410102”/p>

 


You can find more details on the ReadMe document for this bot: https://s3-us-west-2.amazonaws.com/botstore-media/wp-content/uploads/2020/07/28131749/perform-various-email-operations-automation-anywhere-readme.pdf?_fsi=HullZ7w3/p>


Hi

 

I have already done SelectMailItem before calling GetSenderSMTPAddress and GetSMTPAddressCCRecipientsString, do I also need to call SetSMTPAddress? if yes then the below links that you provided in not working.

 

Error: The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

 

  1. GetSenderSMTPAddress is correctly returning the email id of the sender.
  2. GetSMTPAddressCCRecipientsString in returning the name instead of the email address of the people mentioned in CC

Hi @Satguru Saran Vashisht​ , requesting your reply.


Kindly reach out to your CSM/PEM who can engage Paid professional services for more help on this.


Reply