Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

jmail.SMTPMail error '8000ffff'

Status
Not open for further replies.

sodax

Programmer
Jun 26, 2003
87
GB
Somebody can help me, I have this message when I send a newletter to a group.

jmail.SMTPMail error '8000ffff'

The message was undeliverable. All servers failed to receive the message

/website/EMAILING/SendMail.asp, line 99




Before it worked out but since two days I have that sort of error

Some tips??

thanks a lot


Initialisation de l'objet JMAIL
Set JMail = Server.CreateObject("JMail.SMTPMail")

' Addresse Server SMTP
JMail.ServerAddress = "ipMailserver:25"
' Sender adress
JMail.Sender = "contact@domain.com"
' subjet
JMail.Subject = request.form("Subject")
' recipient address

Dim TablDest, indice
TablDest = Split(Request.Form("Destinataires"),";")
For indice=0 To (ubound(TablDest)-1)
If ValidEmail(TablDest(indice))= True Then
JMail.AddRecipientBcc TablDest(indice)
End If
Next

Jmail.AddRecipient "contact@domain.com"

'codage type html
JMail.ContentType = "text/html"

'définition du corp du texte
Dim Ct
Ct = "<html>"
ct = ct & "<body>"
Ct = ct & "<font face=arial size=2>" & Request.Form("Texte") & "<BR><BR>--<BR>text message <A HREF='mailto:" & request.form("mail") & "'>" & request.form("Author") & "</A> From site <A HREF=' Ct = ct & "</body>"
ct = ct & "</html>"
JMail.Body = ct

'Definition message
JMail.Priority = 3

'Send message
JMail.Execute

'destroy JMAIL object
set Jmail=nothing


error line 99 is
'Send message
JMail.Execute
 
Care to give more information about this??????????

This looks like it is some sort of mail form on a web server and it doesn't look like it's set up right.
 
I send you exact code, before it worked out but not now.

If ((Request.Form("Auteur")<>"") And (Request.Form("CourrielAuteur")<>"") And (Request.Form("Destinataires")<>"") And (Request.Form("Subject")<>"") And (Request.Form("Texte")<>"")) then
' Initialisation de l'objet JMAIL
Set JMail = Server.CreateObject("JMail.SMTPMail")

' Adresse du serveur SMTP
JMail.ServerAddress = "62.39.95.19:25"
' adresse de l'expéditeur
JMail.Sender = "contact@luc.asso.fr"
' sujet
JMail.Subject = request.form("Subject")
' adresse des destinataires

Dim TablDest, indice
TablDest = Split(Request.Form("Destinataires"),";")
For indice=0 To (ubound(TablDest)-1)
If ValidEmail(TablDest(indice))= True Then
JMail.AddRecipientBcc TablDest(indice)
End If
Next

Jmail.AddRecipient "contact@luc.asso.fr"

'codage type html
JMail.ContentType = "text/html"

'définition du corp du texte
Dim Ct
Ct = "<html>"
ct = ct & "<body>"
Ct = ct & "<font face=arial size=2>" & Request.Form("Texte") & "<BR><BR>--<BR>Ce message vous a été envoyé par <A HREF='mailto:" & request.form("CourrielAuteur") & "'>" & request.form("Auteur") & "</A> depuis le site <A HREF=' Ct = ct & "</body>"
ct = ct & "</html>"
JMail.Body = ct

'Définition de l'importance du message
JMail.Priority = 3

'Envoi du message
JMail.Execute

'destruction de l'objet JMAIL
set Jmail=nothing
 
You're still not telling us what this is!

Is this ASP code for a web page? - it doesn't look like cgi or php.
 
Yes it is, ASP pages to newsletter to group
 
You'll probably get a better response in the ASP forum.
 
I find the solution

I use merak mail server, in fact whe you use jmail whit this server you DO NOT have to put ip address neither mail.domain.com in smtp.


' server address SMTP
JMail.ServerAddress = "mail.domain.com:25"

you should code

' Adresse du serveur SMTP
JMail.ServerAddress = "LOCALHOST"




 
Well that contradicts your statement in your first post:
Before it worked out...
But, I'm glad you got it sorted out.
 
yes and no ; why?

because, before it sent only emails to emails whit same ip

in my merak server I have multiple domains @domain.com @domain.com1 @domain.com3

all of them have the same ip address.

for that reason it worked out before, because I used mails from my same server in spite of differents domain names.

When I notice that kind of problem i used external domain names from another server, public or private server as hotmail or yahoo.

whit "lochalhost" it sends both, I mean , My mail server (differents domain names) and external mails servers.



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top