Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
JMail Send Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
JMail Send Problem
Divers
Thread ID:
00679845
Message ID:
00679845
Vues:
52
What do you guys think of this. From my dialup connection, I get this when I try to send mail with the JMail COM object. I have two .prgs each gives the same result: "The message was undeliverable. All servers failed to receive the message."
Clear
Local oMsg as JMail.Message
Local oIPSocket as MSWinSock.WinSock
oMsg = CreateObject("Jmail.Message")
oIPSocket = CreateObject("MSWinsock.Winsock")
cIPAddress = oIPSocket.LocalIP
cHost = oIPSocket.LocalHostName
? cIPAddress
? cHost
oMsg.Logging = .t.
oMsg.From = "legionsteve@hotmail.com"
oMsg.AddRecipient("legionsteve@hotmail.com","Stevo")
oMsg.AddHeader( "Originating-IP" , cIPAddress )
oMsg.Subject = "Test VFP7-1"
oMsg.Silent = .f.
oMsg.Send("hotmail.com",.f.)
Clear
Local oJMail as JMail.SMTPMail
oJMail = CreateObject("JMail.SMTPMail")
oJMail.ServerAddress = "hotmail.com"
oJMail.Sender = "legionsteve@hotmail.com"
oJMail.Subject = "Subject 1"
oJMail.AddRecipient ("legionsteve@hotmail.com")
oJMail.ContentType = "text/html"
oJMail.Body = "This is the body"
oJMail.Execute
The user account "legionsteve@hotmail.com" definitely exists.
Anyone?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform