Email Notifications to Users

Last post 05-15-2008 12:51 AM by satalaj. 3 replies.

Sort Posts:

  • Email Notifications to Users

    05-14-2008, 1:28 AM
    • Loading...
    • Avar
    • Joined on 05-14-2008, 5:15 AM
    • Posts 2

    Hi Everyone,


    As a warning, I'm very new to asp.net, so please bear with me!

    I'm using the Extended Personal Site kit 2.8 by jeremywadsworth.com.

    The only issue i'm having after uploading the website to GoDaddy is receiving notifications when a user registers, or sending out notifications.

    Here's what i have in my web.config file.

     

    	<system.net>
    		<mailSettings>
          <smtp from="**********@gmail.com">
    			<network host="smtp.gmail.com" port="587" userName="*********@gmail.com" password="**************" />
    			</smtp>
    		</mailSettings>
    	</system.net>

    Also have these two settings set.

    <add key="NotifyAccount" value="<my admin accounts name>"/> 

    <add key="AdminEmail" value="********@gmail.com"/> 

     

    I don't receive any errors, just no emails being sent out as far as i can tell. 

    Thank you in advance!

  • Re: Email Notifications to Users

    05-14-2008, 2:30 AM
    • Loading...
    • satalaj
    • Joined on 11-28-2007, 12:41 AM
    • Pune
    • Posts 896
  • Re: Email Notifications to Users

    05-14-2008, 11:33 AM
    • Loading...
    • Avar
    • Joined on 05-14-2008, 5:15 AM
    • Posts 2

    Thank you!

    I had to set the network host to the godaddy relay server.

    <network host="relay-hosting.secureserver.net"/>

    Works now =)

    Right now i receive an email when a user registers; but is there any way i can set it so the user received an email when i set the account to active?

    Thanks!
     

  • Re: Email Notifications to Users

    05-15-2008, 12:51 AM
    • Loading...
    • satalaj
    • Joined on 11-28-2007, 12:41 AM
    • Pune
    • Posts 896

    Call the email sending code after activation of user.

Page 1 of 1 (4 items)
Microsoft Communities
Page view counter