CDO.Message
-
Dear all Please find the below sendMail() procedure 1. if the To email Id is external emailid then the email is not delivered whereas if the emailid is same domain it is working fine ..... Sub sendMail() sch = "http://schemas.microsoft.com/cdo/configuration/" Set cdoConfig = Server.CreateObject("CDO.Configuration") Set cdoMessage = Server.CreateObject("CDO.Message") With cdoConfig.Fields .Item(sch & "sendusing") = 2 ' cdoSendUsingPort .Item(sch & "smtpserver") = "mail.company.com" .update End With With cdoMessage Set .Configuration = cdoConfig .From = "info@company.com" .To = "someone@yahoo.com" .Subject = "Inquiry" .HTMLBody=strMsg .Send End With Set cdoMessage = Nothing Set cdoConfig = Nothing End Sub can anyone tell me what is wrong with my script....if not what is the solution for this issue Thnaks inadvance N.Rajakumar B.E., Application Developer
-
Dear all Please find the below sendMail() procedure 1. if the To email Id is external emailid then the email is not delivered whereas if the emailid is same domain it is working fine ..... Sub sendMail() sch = "http://schemas.microsoft.com/cdo/configuration/" Set cdoConfig = Server.CreateObject("CDO.Configuration") Set cdoMessage = Server.CreateObject("CDO.Message") With cdoConfig.Fields .Item(sch & "sendusing") = 2 ' cdoSendUsingPort .Item(sch & "smtpserver") = "mail.company.com" .update End With With cdoMessage Set .Configuration = cdoConfig .From = "info@company.com" .To = "someone@yahoo.com" .Subject = "Inquiry" .HTMLBody=strMsg .Send End With Set cdoMessage = Nothing Set cdoConfig = Nothing End Sub can anyone tell me what is wrong with my script....if not what is the solution for this issue Thnaks inadvance N.Rajakumar B.E., Application Developer
-
Dear all Please find the below sendMail() procedure 1. if the To email Id is external emailid then the email is not delivered whereas if the emailid is same domain it is working fine ..... Sub sendMail() sch = "http://schemas.microsoft.com/cdo/configuration/" Set cdoConfig = Server.CreateObject("CDO.Configuration") Set cdoMessage = Server.CreateObject("CDO.Message") With cdoConfig.Fields .Item(sch & "sendusing") = 2 ' cdoSendUsingPort .Item(sch & "smtpserver") = "mail.company.com" .update End With With cdoMessage Set .Configuration = cdoConfig .From = "info@company.com" .To = "someone@yahoo.com" .Subject = "Inquiry" .HTMLBody=strMsg .Send End With Set cdoMessage = Nothing Set cdoConfig = Nothing End Sub can anyone tell me what is wrong with my script....if not what is the solution for this issue Thnaks inadvance N.Rajakumar B.E., Application Developer
-
is that VB.net code?
Brad Australian - Captain See Sharp on "Religion" any half intelligent person can come to the conclusion that pink unicorns do not exist.
The code is in VB Script for my ASP Application .....not .Net
N.Rajakumar B.E., Application Developer,
-
Hi Vasudevan Deepak Kumar Thanks for sent me a web link but it speaks about .NET ..I want this to be done with ASP let me know if you have any idea....
N.Rajakumar B.E., Application Developer,
-
The code is in VB Script for my ASP Application .....not .Net
N.Rajakumar B.E., Application Developer,
-
Hi Vasudevan Deepak Kumar Thanks for sent me a web link but it speaks about .NET ..I want this to be done with ASP let me know if you have any idea....
N.Rajakumar B.E., Application Developer,
Concept is same. .NET BCL actually wraps around the same CDO object.
Vasudevan Deepak Kumar Personal Homepage Tech Gossips