Rank: Newbie
Groups: Member
Joined: 7/11/2007(UTC) Posts: 2 Location: Ireland
|
Hi All
Anyone has any idea on how to form the <mailSettings> tag in the web.config for ASP.NET 2.0 with authentication?
At the moment I have the following:-
<system.net> <mailSettings> <smtp deliveryMethod="Network" from="myusername"> <network host="mail.johannmontfort.com" password="********" userName="myusername" port="25"/> </smtp> </mailSettings> </system.net>
but its not working
|
|
|
|
Rank: Member
Groups: Member
Joined: 5/20/2006(UTC) Posts: 15
|
Am using the same code with the difference in the user name am using the domain name (myusername@mydomain.com )and it is working good . Also check that the message is not in the bulk folder in (Yahoo,msn...) mail .
|
|
|
|
Rank: Administration
Groups: Administration, Member Joined: 1/3/2006(UTC) Posts: 348 Was thanked: 1 time(s) in 1 post(s)
|
Yes, the username should be the full email address |
Noman Dormosh
HostingFest |
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The HostingFest Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close