Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 10, 2012 02:01 AM by Frank Jiang - MSFT
Member
154 Points
507 Posts
May 04, 2012 12:28 AM|LINK
Hi,
When my users register, they use an email, so I would like to send them an email grouping by role:
Role1-------------------->send email (transforming default.aspx to html.aspx) to their mail box
Do you have any ready page or project related to this ?
Thanks
All-Star
16006 Points
1728 Posts
Microsoft
May 07, 2012 08:55 AM|LINK
Please take a looking at this links:
http://www.asp.net/web-forms/videos/how-do-i/how-do-i-use-aspnet-to-send-email-from-a-web-site
http://code.msdn.microsoft.com/CSSMTPSendEmail-c241f55d
http://www.codeproject.com/Articles/12511/Send-Email-in-ASP-Net-2-0-Feed-back-Form
May 09, 2012 05:48 PM|LINK
thanks, it showing how to send email manually, do you know how to do it automatickly every 8h? (maybe with a timer)
Star
12771 Points
2361 Posts
May 09, 2012 05:56 PM|LINK
You'd need to queue them and write a service or script a sql job for that. Is there some drawback to sending it right away?
May 09, 2012 09:31 PM|LINK
DarthSwian Is there some drawback to sending it right away?
Not's for me, but my boss want to get email when he's at home
May 10, 2012 02:01 AM|LINK
You can send mail automatically using window service:
http://www.dotnetfunda.com/articles/article931-how-to-send-mail-automatically-for-every-five-minutes-using-csharp.aspx
and check this thread,may be able to find the ways that suits you
http://forums.asp.net/t/1430673.aspx
http://forums.asp.net/t/1269838.aspx
http://forums.asp.net/t/1202964.aspx
salim20001
Member
154 Points
507 Posts
Sending email to users with roles
May 04, 2012 12:28 AM|LINK
Hi,
When my users register, they use an email, so I would like to send them an email grouping by role:
Role1-------------------->send email (transforming default.aspx to html.aspx) to their mail box
Do you have any ready page or project related to this ?
Thanks
Frank Jiang ...
All-Star
16006 Points
1728 Posts
Microsoft
Re: Sending email to users with roles
May 07, 2012 08:55 AM|LINK
Please take a looking at this links:
http://www.asp.net/web-forms/videos/how-do-i/how-do-i-use-aspnet-to-send-email-from-a-web-site
http://code.msdn.microsoft.com/CSSMTPSendEmail-c241f55d
http://www.codeproject.com/Articles/12511/Send-Email-in-ASP-Net-2-0-Feed-back-Form
Feedback to us
Develop and promote your apps in Windows Store
salim20001
Member
154 Points
507 Posts
Re: Sending email to users with roles
May 09, 2012 05:48 PM|LINK
thanks, it showing how to send email manually, do you know how to do it automatickly every 8h? (maybe with a timer)
DarthSwian
Star
12771 Points
2361 Posts
Re: Sending email to users with roles
May 09, 2012 05:56 PM|LINK
You'd need to queue them and write a service or script a sql job for that. Is there some drawback to sending it right away?
Seek and ye shall find or http://lmgtfy.com/
salim20001
Member
154 Points
507 Posts
Re: Sending email to users with roles
May 09, 2012 09:31 PM|LINK
Not's for me, but my boss want to get email when he's at home
Frank Jiang ...
All-Star
16006 Points
1728 Posts
Microsoft
Re: Sending email to users with roles
May 10, 2012 02:01 AM|LINK
You can send mail automatically using window service:
http://www.dotnetfunda.com/articles/article931-how-to-send-mail-automatically-for-every-five-minutes-using-csharp.aspx
and check this thread,may be able to find the ways that suits you
http://forums.asp.net/t/1430673.aspx
http://forums.asp.net/t/1269838.aspx
http://forums.asp.net/t/1202964.aspx
Feedback to us
Develop and promote your apps in Windows Store