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. 7 1524
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.
--
"Jay" <Ja*@discussions.microsoft.com> wrote in message
news:D0**********************************@microsof t.com... 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.
I am sorry, but can you explain me how to do it? The following is the piece
of code that I am using for authentication.
oMailMessage.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", 2)
Thanks in advance.
"Nick Malik [Microsoft]" wrote: 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. -- "Jay" <Ja*@discussions.microsoft.com> wrote in message news:D0**********************************@microsof t.com... 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. http://www.systemwebmail.com/faq/3.8.aspx
--
--- 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.
--
"Jay" <Ja*@discussions.microsoft.com> wrote in message
news:70**********************************@microsof t.com... I am sorry, but can you explain me how to do it? The following is the piece of code that I am using for authentication.
oMailMessage.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", 2)
Thanks in advance.
"Nick Malik [Microsoft]" wrote:
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. -- "Jay" <Ja*@discussions.microsoft.com> wrote in message news:D0**********************************@microsof t.com... > 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.
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.
"Nick Malik [Microsoft]" wrote: http://www.systemwebmail.com/faq/3.8.aspx
-- --- 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. -- "Jay" <Ja*@discussions.microsoft.com> wrote in message news:70**********************************@microsof t.com...I am sorry, but can you explain me how to do it? The following is the piece of code that I am using for authentication.
oMailMessage.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", 2)
Thanks in advance.
"Nick Malik [Microsoft]" wrote:
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. -- "Jay" <Ja*@discussions.microsoft.com> wrote in message news:D0**********************************@microsof t.com... > 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.
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.
--
"Jay" <Ja*@discussions.microsoft.com> wrote in message
news:91**********************************@microsof t.com... 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.
"Nick Malik [Microsoft]" wrote:
http://www.systemwebmail.com/faq/3.8.aspx
-- --- 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. -- "Jay" <Ja*@discussions.microsoft.com> wrote in message news:70**********************************@microsof t.com... >I am sorry, but can you explain me how to do it? The following is the >piece > of code that I am using for authentication. > > oMailMessage.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", > 2) > > Thanks in advance. > > "Nick Malik [Microsoft]" wrote: > >> 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. >> -- >> "Jay" <Ja*@discussions.microsoft.com> wrote in message >> news:D0**********************************@microsof t.com... >> > 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. >> >> >>
I sort of lived with it, but wanted to give another try. It is an Exchange
2003 server.
"Nick Malik [Microsoft]" wrote: 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. -- "Jay" <Ja*@discussions.microsoft.com> wrote in message news:91**********************************@microsof t.com... 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.
"Nick Malik [Microsoft]" wrote:
http://www.systemwebmail.com/faq/3.8.aspx
-- --- 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. -- "Jay" <Ja*@discussions.microsoft.com> wrote in message news:70**********************************@microsof t.com... >I am sorry, but can you explain me how to do it? The following is the >piece > of code that I am using for authentication. > > oMailMessage.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", > 2) > > Thanks in advance. > > "Nick Malik [Microsoft]" wrote: > >> 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. >> -- >> "Jay" <Ja*@discussions.microsoft.com> wrote in message >> news:D0**********************************@microsof t.com... >> > 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. >> >> >>
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.
--
"Jay" <Ja*@discussions.microsoft.com> wrote in message
news:3F**********************************@microsof t.com... I sort of lived with it, but wanted to give another try. It is an Exchange 2003 server.
"Nick Malik [Microsoft]" wrote:
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. -- "Jay" <Ja*@discussions.microsoft.com> wrote in message news:91**********************************@microsof t.com... > 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. > > "Nick Malik [Microsoft]" wrote: > >> http://www.systemwebmail.com/faq/3.8.aspx >> >> -- >> --- 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. >> -- >> "Jay" <Ja*@discussions.microsoft.com> wrote in message >> news:70**********************************@microsof t.com... >> >I am sorry, but can you explain me how to do it? The following is the >> >piece >> > of code that I am using for authentication. >> > >> > oMailMessage.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", >> > 2) >> > >> > Thanks in advance. >> > >> > "Nick Malik [Microsoft]" wrote: >> > >> >> 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. >> >> -- >> >> "Jay" <Ja*@discussions.microsoft.com> wrote in message >> >> news:D0**********************************@microsof t.com... >> >> > 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. >> >> >> >> >> >> >> >> >> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Peter Young |
last post by:
I need to be able to generate an invoice from an ASP page. Currently, the
invoice is drawn in a web page and my client prints the page from their
browser. This doesn't work too well in terms of...
|
by: Aries |
last post by:
Hi
Let say I wanted to get an IP address of a machine called mybox. How can I
do it in ASP?
--
ÁÙ§Ú¥»¦â
Forever Bad.
|
by: Charlie363 |
last post by:
Hi to all,
I have a little asp.net website which works great on the local machine
but I cannot seem to access it from a remote machine. It is not a
connection problem because my remote machine...
|
by: hazly |
last post by:
I don't know much about MS SQL-Server. I'm having SQL server 2000 and
going to change IP address of the server. What need to be done?
|
by: DigitalRick |
last post by:
I have been running CDONTS in my ASPpages to send emails to me sent from my
guestbook. It had been working fine untill I upgraded to Server 2003 (I am
also running Exchange 2003) all locally. I...
|
by: dog |
last post by:
I've seen plenty of articles on this topic but none of them have been
able to solve my problem.
I am working with an Access 97 database on an NT4.0 machine, which has
many Access reports.
I...
|
by: Kent P. Iler |
last post by:
Hi,
I am trying to reference images from an images directory immediately off the
root level. The problem is that on my dev machine, the url is
<machine>/hbmlocal/images, and on the production...
|
by: Jay |
last post by:
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...
|
by: Roy |
last post by:
Hi,
Thanks for helping.I have an A2K Appl.Recently,one of the groups agreed
to provide data which I download into the access table.The problem is
this data which is sent in a text file.I am unable...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |