logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
monfu  
#1 Posted : Wednesday, July 11, 2007 9:55:44 AM(UTC)
monfu
Rank: Newbie

Reputation:

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
tareq  
#2 Posted : Thursday, July 12, 2007 8:27:01 PM(UTC)
tareq
Rank: Member

Reputation:

Groups: Member
Joined: 5/20/2006(UTC)
Posts: 15
Man

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 .
Smiling4ever  
#3 Posted : Saturday, July 14, 2007 8:41:18 AM(UTC)
Smiling4ever
Rank: Administration

Reputation:

Groups: Administration, Member
Joined: 1/3/2006(UTC)
Posts: 348
Man

Was thanked: 1 time(s) in 1 post(s)
Yes, the username should be the full email address
Noman Dormosh

HostingFest
Users browsing this topic
Guest (2)
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.