Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Objects

 AfterLogic Forum : MailBee.NET Objects
Subject Topic: send Mail by standard Mailclient via .eml Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
KSH
Newbie
Newbie


Joined: 23 October 2017
Online Status: Offline
Posts: 3
Posted: 18 December 2017 at 4:37am | IP Logged Quote KSH

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 View KSH's Profile Search for other posts by KSH
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 18 December 2017 at 4:48am | IP Logged Quote Igor

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 View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide