dpyers wrote:
that shouldn't matter, I use both unix and localhost windows smtp servers, you just need to properly set up the mail server in the admin section and change the send_mail.asp to include any authentication (user.password) that may be required by the remote server. |
dpyers - I too have the same issue and my SMTP server does require authentication. I am trying to use ASPEmail... Can you please tell me what code I need to place into the functions_send_mail.asp please? I currently have this code pasted.
'AspEmail component
Case "AspEmail"
'Create the e-mail server object
Set objAspEmail = Server.CreateObject("Persits.MailSender")
With objAspEmail
'Out going SMTP mail server address
.Host = strOutgoingMailServer
'Who the e-mail is from
.From = strFromEmailAddress
.FromName = strFromEmailName
'Who the e-mail is sent to
.AddAddress strRecipientEmailAddress
'The subject of the e-mail
.Subject = strSubject
'Set the e-mail body format (BodyHTML=HTML Body=Text)
If blnHTML = True Then
.IsHTML = True
End If
'The main body of the e-mail
.Body = strEmailBodyMessage & strEmailBodyAppendMessage
'Send the e-mail
If NOT strOutgoingMailServer = "" Then .Send
End With
'Close the server mail object
Set objAspEmail = Nothing
Thanks - WOLF