If I use my own yahoo personal account to send this email, _it works beautifully._
However, I had my client open a yahoo account so they can send their own emails from VFP and I get the message: server unavailable or failed to connect to server.
I tried this from three different machines with the same result.
And the same happens with gmail. Trying to send the email from gmail, using smtp.gmail.com for the outgoing server, I get the same result.
BTW, it barfs in the send() line
loCfg = CREATEOBJECT("CDO.Configuration") WITH loCfg.Fields .Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "smtp.mail.yahoo.com" .Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 465 .Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 .Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = "myclientaccount@yahoo.com" .Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "hispassword" .Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = .t. .Item("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = .t. .Update ENDWITH
loMsg = CREATEOBJECT ("CDO.Message") WITH loMsg .Configuration = loCfg .From = "myclientaccount@yahoo.com"
.To = 'rafael.copquin@gmail.com'
.Subject = "Test" .TextBody = "Hello "
.Send() ENDWITH
I googled for a solution and they say to try to change the outgoing port to 587, to no avail
What the heck is going on??
Sorry, my bad temper controlled me
Rafael Copquin
--- Este correo electrónico ha sido comprobado en busca de virus por AVG. http://www.avg.com
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---