Forum Moderators: open
i have used following code
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.FromName = strName
Mailer.FromAddress=strEmail
Mailer.RemoteHost = "mail.example.com"
Mailer.AddRecipient "Name", "someone@example.com"
Mailer.Subject ="Query"
strMsgBody =strMsgBody & "Email:" & strEmail&vbCrLf& "Name:" & strName&vbCrLf&"Company:" & strCompany&vbCrLf&"Phone:" & strPhone&vbCrLf&vbCrLf&"Query About:" & strQuery
Mailer.BodyText = strMsgBody
do i require to install any component, or what is the problem.Please any one help me
[edited by: DrDoc at 5:35 am (utc) on April 28, 2004]
[edit reason] Examplified code [/edit]
tell me more about the error (hopefully, somebody will move this to the Microsoft forum)
What line is it telling you .. what does that line have on it?
Most servers use either CDONTS or cdosys
Lana