Would like to send email from the gridview

Posted by Ypanchal under ASP.NET on 5/24/2012 | Points: 10 | Views : 1106 | Status : [Member] | Replies : 3
I have Gridview with data and I would like to attach Email button which is going to repeat on each row and on any row when user click it will prompt for the to email address and attach the row data i.e Name, address, phone # etc. Below is the example when user clicks on Email button it ask you for the To email address and and in the body includes Name, Address and Phone #. How can I do that? Any suggestion. Thanks in advance for any guidance.

Name - ABC
Address - NY, USA
Phone # - 123-456-7890
Email Button

Name - XYZ
Address - CA, USA
Phone # - 987-654-3210
Email Button




Responses

Posted by: Kavi.Sirius on: 5/25/2012 [Member] Starter | Points: 25

Up
0
Down
hi

Refer this link

http://yasserzaid.wordpress.com/2012/04/03/send-gridview-content-through-email/

Regards
Kavi.n

Ypanchal, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ypanchal on: 5/25/2012 [Member] Starter | Points: 25

Up
0
Down
It's nice example but I would like user to enter To email address and then send email, not to pre-defined email address.

Thanks,

Ypanchal, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: perfectchourasia-9163 on: 6/8/2012 [Member] Starter | Points: 25

Up
0
Down
Send the Email On Rowcommand...


see the link to send mail
http://sandeep-chourasia.blogspot.in/2011/05/send-mail-in-aspnet.html

ER sandeep chourasia
sandeepchrs@yahoo.com (on facebook)
http://www.aspnetcodes.com/

Ypanchal, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response