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";) = "[email protected]" .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 = "[email protected]"

      .To = '[email protected]'


      .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
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to