Forward Email using smtp
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-08-22 02:15 PM
How can I forward email (not send email) using pop3-smtp object like as forward email in the Outlook object.
VBO pop3-smtp object does not contain forward action. how can I build this action in pop3-smtp object?
------------------------------
weam samara
------------------------------
VBO pop3-smtp object does not contain forward action. how can I build this action in pop3-smtp object?
------------------------------
weam samara
------------------------------
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-08-22 02:45 PM
Hello @weam samara,
The POP3/SMTP VBO used the .NET SmtpClient class to perform the sending actions. This class does not expose a specific action for forwarding email. However, you could work around this by using the existing actions on the VBO to save the email you want to forward to disk as a .eml file (along with any attachments) and then create a new email to the destination party and attach the original email.
Does that make sense?
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
The POP3/SMTP VBO used the .NET SmtpClient class to perform the sending actions. This class does not expose a specific action for forwarding email. However, you could work around this by using the existing actions on the VBO to save the email you want to forward to disk as a .eml file (along with any attachments) and then create a new email to the destination party and attach the original email.
Does that make sense?
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-08-22 05:35 PM
how can I save the email in .eml file?
can I do this using smtp object?
------------------------------
weam samara
------------------------------
can I do this using smtp object?
------------------------------
weam samara
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
16-08-22 07:50 AM
Hi @weam samara
There is not action at this moment for save the eml , but it is easy to create a new one.
Is really similar to the action "Get Message". You need to indicate the message id in the variable "MessageNumber" and put the save path in the variable "path"
Then you can send the saved mail with the action "Send Message" adding this as an attachment.
Hope this helps you!
See you in the Community, bye!
------------------------------
Pablo Sarabia
Solution Manager & Architect
Altamira Assets Management
Madrid
------------------------------
There is not action at this moment for save the eml , but it is easy to create a new one.
Message m =_rclient.GetMessage((int)MessageNumber);
FileInfo info = new FileInfo(path);
m.Save(info);
Is really similar to the action "Get Message". You need to indicate the message id in the variable "MessageNumber" and put the save path in the variable "path"
Then you can send the saved mail with the action "Send Message" adding this as an attachment.
Hope this helps you!
See you in the Community, bye!
------------------------------
Pablo Sarabia
Solution Manager & Architect
Altamira Assets Management
Madrid
------------------------------
