hi,

In my webpage Confirmation mail has to be sent to user when  he fill
and click on submit.It is working fine but this mail need to be stored
in sentmail folder of Admin.([EMAIL PROTECTED])


the code is below

        MailMessage mail=new MailMessage();
                                        mail.BodyFormat=MailFormat.Text;

                                        mail.From="[EMAIL PROTECTED]";

                                        mail.To=Email1.Text;

                                        mail.Subject="Registration Email";
                                        mail.Body="Thanks for Registering in 
ombooks.in  Please Click on
the below Link  to Activate your Account with a user id:
"+txtusername1.Text +" Reference No: "+ rownumber +"
http://www.ombooks.in/confirmlogin.aspx ";

                                        
mail.Fields["http://schemas.microsoft.com/cdo/configuration/
smtpserver"]="servername";
                                        
mail.Fields["http://schemas.microsoft.com/cdo/configuration/
sendusing"]=1;
                                        
mail.Fields["http://schemas.microsoft.com/cdo/configuration/
smtpauthenticate"]=1;
                                        
mail.Fields["http://schemas.microsoft.com/cdo/configuration/
sendusername"]="[EMAIL PROTECTED]";
                                        
mail.Fields["http://schemas.microsoft.com/cdo/configuration/
sendpassword"]="jytghemkl7er";


                                        
SmtpMail.SmtpServer="smtp.rediffmailpro.com";
                                        SmtpMail.Send(mail);

what do i have to add to above code?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to