Author |
|
KSH Newbie
Joined: 23 October 2017
Online Status: Offline Posts: 3
|
Posted: 18 December 2017 at 4:37am | IP Logged
|
|
|
Hi everybody,
I'm looking for a way to send mails via standard mail client on windows (Outlook, Thunderbird and so on) with attachments!!! I could not find a way for all systems, but remembered, that all this programms can handle .eml - files.
So I desided to save the mail from Mailbee.smtpmail.smtp to the temp-directory and call this file with process.start("file.eml"). This works fine, but I can't send the mails. To do this, there must be a little change on the header:
"X-Unsent: 1"
Is there a way to do this with mailbee, or do you have a better way to use the standard-mail-client?
Thank you for your support.
T.K.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 18 December 2017 at 4:48am | IP Logged
|
|
|
Prior to saving message as EML file, do this:
Code:
msg.Headers["X-Unsent"] = "1"; |
|
|
and the message will be saved with the header you need.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|