Well, finally! I have the Jmail component working with SMTP server authentication. I modified the code in the functions_send_mail.asp page so that the ServerCreateObject uses a different method. The Jmail.SMTPMail was from an earlier verison of the W3 Jmail component and does not allow for authentication. See code snippet below:
'JMail component
Case "Jmail"
'Create the e-mail server object
'Here we change the method from Jmail.SMTPMail to Jmail.Message
Set objJMail = Server.CreateObject("JMail.Message")
With objJMail
'Who the e-mail is sent to
.From = strFromEmailAddress
.FromName = strFromEmailName
.AddRecipient strRecipientEmailAddress
'Send SMTP Server authentication data
.MailServerUserName = "username"
.MailServerPassword = "password"
'The subject of the e-mail
.Subject = strSubject
'Set the e-mail body format (BodyHTML=HTML Body=Text)
If blnHTML = True Then
.HTMLBody = strEmailBodyMessage & strEmailBodyAppendMessage
Else
.Body = strEmailBodyMessage & strEmailBodyAppendMessage
End If
'Importance of the e-mail
.Priority = 3
'Out going SMTP mail server address
.Send("smtp-server.domain.com" )
'Send the e-mail
If NOT strOutgoingMailServer = "" Then .Execute
End With
'Close the server mail object
Set objJMail = Nothing
I hope this helps those of you who were having trouble with authentication and Jmail.