Hi Max,
As for the problem you mentioned, I'm not sure what's the "MAIL FROM" you
mentioned. Generally the .net System.Web.Mail component's MailMessage only
contains a "From" property which represent the "From" header of a mail.
And in the CDO's IMessage Interface, there have two properties, "From" and
"Sender" which have different usages, below is the description on the
difference of "Sender" and "From" properties:
======================
The difference between the From and Sender properties is that the Sender
property represents the messaging user that actually submits the message,
while the From property designates its principal author or authors. If the
author and the sender are the same, it is only necessary to set the From
property, and it is recommended to leave the Sender property unset in this
case.
========================
Also, here is the original link in MSDN:
#From Property
http://msdn.microsoft.com/library/en...essage_from.as
p?frame=true
#Sender Property
http://msdn.microsoft.com/library/en...message_sender.
asp?frame=true
In addition, as far as I know , the System.Web.Mail and CDO are the
existing buildin components that .net framework and COM provide. If the
existing properties of them are not enough, I'm afraid we may look for some
other 3rd party raw SMTP components.
Hope helps. Thanks.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)