Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mabry Mail
Message
 
À
04/12/2003 11:12:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Divers
Thread ID:
00855456
Message ID:
00856149
Vues:
18
>Hi Brian,
>
>Nice little control you guys have. Simple to use. Easy to impliment. It works (for me) as well as what we already have. Which means I still have the same problems. Below is the code I used. It sends internally 100%. Outside the domain 0%.
>
>If I set ".UseESMTP = .F." ERROR 554 5.5.2
>If I set ".UseESMTP = .T." ERROR 504 5.7.4
>
>WITH THISFORM
> .oSeekFordSmtp.MailServer = lcMsgServer
> .oSeekFordSmtp.FailOnRecipientErrors = .T.
> .oSeekFordSmtp.UseSecurePasswordAuthentication = .T.
> .oSeekFordSmtp.UseESMTP = .F.
>
> loMsgObject = CREATEOBJECT("SmtpWizard.SMTPMessage2")
> loMsgObject.FieldFrom = lcMsgFROM
> loMsgObject.FieldTo = lcMsgTO
> loMsgObject.FieldSubject = lcMsgSubject
> loMsgObject.MessageBody = lcMsgBody
>
> llIsConnect = .oSeekFordSmtp.CONNECT("OurLogonID", "OurLogonPwd")
> IF !llIsConnect
> MESSAGEBOX("FAILED TO CONNECT: " + CHR(13) + CHR(13) + .oSeekFordSmtp.LastErrorDescription, 16, "{"+TRANS(.oSeekFordSmtp.LastErrorNumber)+"}")
> RETURN
> ELSE
> llSentOk = .oSeekFordSmtp.SendMessage(loMsgObject, 1)
> IF !llSentOk
> MESSAGEBOX("MESSAGE NOT SENT: " + CHR(13) + CHR(13) + .oSeekFordSmtp.LastErrorDescription, 16, "{"+TRANS(.oSeekFordSmtp.LastErrorNumber)+"}")
> ENDIF
> .oSeekFordSmtp.DISCONNECT
> ENDIF
>ENDWITH
>
>Any suggestions?
>TIA
>Mike

Hi Mike,

Sounds like something is strange with your server. It is rejecting the EHLO command and is also giving you a relay problem.

Is this mail server behind your networks firewall or accessible via the internet?

If you could supply me the mail server address I can take a look at the software they are running to determine what is going on.

If it is behind your firewall on your network side, tell your IT guys to turn off relay restrictions. By the way, if the mail server doesn't support ESMTP it must be a very very old version of mail software. Authentication mechanisms according to spec's are for ESMTP for use with the EHLO login command.

You may have a strange server though so if I could log in to it I could check it out. I don't need any user info, just the address.
Brian Seekford
Seekford Solutions, Inc.
http://www.SeekfordSolutions.com
Internet ActiveX Controls and .NET Class Libraries.
SMTP/S FTP POP3/S HTTP/S SNTP MIME PING WHOIS TRACEROUTE NNTP DNS MX
Base64, UUEncode, yEnc, MD5, SHA1, URL, Quoted-Printable.
Resizer and Tooltips
Email Verification and more. Check us out!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform