hi to all,

with the regards of the day,

I am working on asp.net 1.1, currently working on mail server. i wan to send
asp.net page in the body of mail.  i am using CDO object for sending mail
I am sending the mail code too, Please see this and help me....


            Dim objMail, objMailConf, mybody
            objMail = Server.CreateObject("CDO.Message")
            objMailConf = Server.CreateObject("CDO.Configuration")
            objMailConf.Fields.item("
http://schemas.microsoft.com/cdo/configuration/sendusing";) = 2
            objMailConf.Fields.item("
http://schemas.microsoft.com/cdo/configuration/smtpserver";) = "
smpt.gmail.com"
            objMailConf.fields.Item("
http://schemas.microsoft.com/cdo/configuration/smtpserverport";) = 25
            objMailConf.Fields.item("
http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout";) = 60
            objMailConf.Fields.item("
http://schemas.microsoft.com/cdo/configuration/smtpauthenticate";) = 1
            objMailConf.Fields.Update()
            objMail.Configuration = objMailConf

            objMail.From = "a...@parthinfosystems.com"
            objMail.To = "atuls...@gmail.com"
            objMail.Subject = "hello"
            objMail.TextBody = "hello2343"
            'objMail.htmlBody = "hello Sir"
            objMail.CreateMHTMLBody("
http://minicrm.xyzase.in/mailqut.aspx?abcd="; + Session("Quotation_no") +
"&bdcd=" + Session("Quotation_id"))
            objMail.Fields.Update()
            objMail.Send()


thanks in advance.

With Warm Regards
===============
Atul Setu
+91-98112-20302
+91-95558-00788
atuls...@gmail.com

Reply via email to