At a minimum, you will need to set the port to the one that gmail uses for SMTP.

rk

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of MB Software Solutions, LLC
Sent: Friday, August 07, 2009 2:21 PM
To: [email protected]
Subject: Re: error using wwIPStuff and GMail account

LOCAL loMail as "wwIPStuff" OF "wwIPStuff.vcx", lcText as String

loMail = NEWOBJECT('wwIPStuff','wwIPStuff.vcx')

loMail.cMailServer = "smtp.gmail.com"
loMail.cSendername = "John Dough"
loMail.cSenderEmail = "[email protected]"
loMail.cUsername = "uid"
loMail.cPassword = "pwd"

loMail.cRecipient = "[email protected]"
loMail.cCCList = ""
loMail.cBCCList = ""
loMail.cSubject = "Questions about your Math program"


loMail.cContentType = 'text/plain'
loMail.cMessage = lcText
loMail.cAttachment = ""

IF !loMail.SendMail()
        MESSAGEBOX(loMail.cErrorMsg,16,"Problem!")
        RETURN .F.
ENDIF


-- 
Mike Babcock, MCP
MB Software Solutions, LLC
President, Chief Software Architect
http://mbsoftwaresolutions.com
http://fabmate.com
http://twitter.com/mbabcock16


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/df1eef11e586a64fb54a97f22a8bd04406552e7...@ackbwddqh1.artfact.local
** 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