Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET SMTP

 AfterLogic Forum : MailBee.NET SMTP
Subject Topic: MAIL FROM and from header Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
llopht
Newbie
Newbie
Avatar

Joined: 02 August 2006
Online Status: Offline
Posts: 1
Posted: 02 August 2006 at 10:17am | IP Logged Quote llopht

Hello,

I try your smtp component. Is this possible (because I not found any solution) to use different values on the MAIL FROM command and the From header like this :

MAIL FROM return@actisens.com

DATA
From: jerome@actisens.com

When I try to modify the From header that change the value of the MAIL FROM command.

Thanks for your help.

Jérôme
Back to Top View llopht's Profile Search for other posts by llopht
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 02 August 2006 at 10:27am | IP Logged Quote Alex

You can do this as follows (in C# syntax):
Code:

Smtp mailer = new Smtp();
...
// Specify From: field.
mailer.From.AsString = "jerome@actisens.com";
// Specify the recipients
mailer.To.AsString = "recipient@actisens.com";
...
mailer.Send("return@actisens.com", (string)null);


Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 

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