i get this problem whenever i want to send mail from my forum:
jmail.Message error '8000ffff'
The message was undeliverable. All servers failed to receive the message
/forum7/functions/functions_send_mail.asp, line 228
the code looks something like this:
'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 = "orchids"
.MailServerPassword = "*******"
'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.hotpop.com" )
'Send the e-mail
If NOT strOutgoingMailServer = "" Then .Execute
End With
'Close the server mail object
Set objJMail = Nothing
can anybody help me and show me how to send email using the Jmail component? thank you.