I am using the below code to attempt to send an email using the print
command - I have setup this client with outlook -
they have a domain name as visualimageny.com which is supported under
gmail- the setup in out look is:
imap.gmail.com
smtp.gmail.com
[email protected]
password
993 SSL
25 TLS
authentication is on
I can send and received everything from outlook - I have attempt to
change the 25 to 465, or 587 - I would appreciate your help
J
set v vemailname = '[email protected]'
set v vsubject = 'test test'
set v vbody = 'body body'
set v vname = 'VISUAL IMAGE STUDIO'
PRINT A9_CONTRACT WHERE eiden = 3 +
OPTION PDF|FILENAME test |EMAIL ON |EMAIL_AUTHENTICATION ON
/*|EMAIL_HOST smtp.gmail.com */+
/* |EMAIL_PORT 25*/ |EMAIL_USERID [email protected]
|EMAIL_PASSWORD password +
|EMAIL_BODY &vbody EMAIL_DATE .#DATE |EMAIL_FROM_ADDRESS
[email protected] +
|EMAIL_FROM_NAME &VNAME |EMAIL_TO_LIST &vemailname |EMAIL_REPLY
[email protected] +
|EMAIL_SUBJECT &VSUBJECT |EMAIL_CC_LIST
[email protected] |EMAIL_BCC_LIST [email protected] +
|EMAIL_DELETE_AFTER_SEND Off |EMAIL_SHOW_DIALOG On
return
--
*J. Blaustein*
*J Blaustein Associates, Inc.*
* 12 Herrick Drive*
* Lawrence, NY 11559*
*516-371-3445 FAX 516-345-8009*