cancel
Showing results for 
Search instead for 
Did you mean: 

Email - POP3/SMPT List Messages Not showing MessageID field

HongJooChoi
Staff
Staff
HI, Community.

One of my colleagues is currently testing with the Email - POP3/SMTP Object.
The following is the result of "List Messages" action. The upper 3 items are ones that's sent by the RPA and the rest is ones that's sent by human.

Can you let me know why the first 3 items are not showing the Message ID and From fields?

20128.png


The below is the configuration setting that's used to send the email.
20129.png

The below is the action used to send Email message.
20130.png


Best regards

------------------------------
HongJoo Choi
------------------------------
1 BEST ANSWER

Helpful Answers

I forgot to discuss the MessageID. That value is typically set by the mail server. However, the server has to be configured to handle it. If you really need it, you can set it yourself if you find that the server is not presenting it reliably. To set it yourself you'd need to adjust the Code stage to include something like the following example:

mail.Headers.Add("Message-Id",
                  String.Format("<{0}@{1}>",
                  Guid.NewGuid().ToString(),
                  YOUR_MAIL_SERVER_DOMAIN));​


Cheers,



------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------

View answer in original post

3 REPLIES 3

ewilson
Staff
Staff
Hi @HongJooChoi,

The From Name is not being populated because it's not being set on the Message object.​ If you really want that, you would need to add an additional input value to accept the name and then you would need to extend the code in the Code stage of the Send Message action to add it to the Message object. Here's an example of what that might look like.

20112.png
20113.png
Cheers,

------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------

I forgot to discuss the MessageID. That value is typically set by the mail server. However, the server has to be configured to handle it. If you really need it, you can set it yourself if you find that the server is not presenting it reliably. To set it yourself you'd need to adjust the Code stage to include something like the following example:

mail.Headers.Add("Message-Id",
                  String.Format("<{0}@{1}>",
                  Guid.NewGuid().ToString(),
                  YOUR_MAIL_SERVER_DOMAIN));​


Cheers,



------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------

Hi, Eric. 

Thank you so much.
All has been sorted.


Best regards

------------------------------
HongJoo Choi
------------------------------