'From address' Name Resolution problem

G

Guest

Hi,
I am using the MailMessage object to send mails. One issue that I am
currently facing is that the 'From' address that I provide is not getting
resolved. I was testing the code with the same address for both 'From' and
'To'. When I viewed the mail through Outlook, the 'To' address was resolved
and I was able to view the Outlook properties, but not the 'From'. The 'From'
address was displayed like an external SMTP type email ID.

Thanks in advance.

Rgds.
 
N

Nick Malik [Microsoft]

If you send the e-mail using authenticated SMTP, then the from address
should resolve just fine.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
 
G

Guest

Hi Nick,
Thanks for your reply. I have already researched tons of information on the
net, including the link that you have given below. I need to use NTLM based
authentication and thats the reason why I am using the method as '2'. My SMTP
server allows only Windows based authentication and it wouldn't have sent the
mail in the first place if the authentication was not done. So in this case,
I dont think it would be the authentication that is giving me issues, rather
the name resolution. I triedd seeing the headers and compared it with Outlook
generated mesage and I even tried giving the same format as it had treated
the 'To' address. Still, I am facing this issue.

Please help me. I have been banging my head over the weekend to resolve
this, but in vain :(

Rgds.
 
N

Nick Malik [Microsoft]

do you have Exchange running or another SMTP server?

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
 
G

Guest

I sort of lived with it, but wanted to give another try. It is an Exchange
2003 server.
 
N

Nick Malik [Microsoft]

I really don't have an answer. Perhaps if someone else joins in?

Options:
you could post on an Exchange newsgroup
you could call product support

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top