Author |
|
llopht Newbie
Joined: 02 August 2006
Online Status: Offline Posts: 1
|
Posted: 02 August 2006 at 10:17am | IP Logged
|
|
|
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 |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 02 August 2006 at 10:27am | IP Logged
|
|
|
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 |
|
|