Skip to main content
Cadet | Tier 2
September 9, 2022
Question

GetSMTPAddressCCRecipientsString returns name instead of email address in OutlookV2.mbot

  • September 9, 2022
  • 5 replies
  • 79 views

GetSMTPAddressCCRecipientsString returns name instead of email address in OutlookV2.mbot

    5 replies

    Automation Anywhere Team
    September 9, 2022

    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>

     

    Automation Anywhere Team
    September 9, 2022
    Cadet | Tier 2
    September 12, 2022

    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
    Cadet | Tier 2
    September 14, 2022

    Hi @Satguru Saran Vashisht​ , requesting your reply.

    Automation Anywhere Team
    September 14, 2022

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