10-24-2009, 06:43 PM
How do I make this work. What is the email password encrypted as? How can I do that in my code.
Please fix it up so it works
Thanks,
Jimmy Vig
Function Gmail_DownLoad
Please fix it up so it works
Thanks,
Jimmy Vig
Function Gmail_DownLoad
function str'EMAIL_ACCOUNT str'ENCRYPTED_PASSWORD [str'DownLoadFolder]
;EXAMPLE:
;Gmail_DownLoad "[email protected]" "Password" "$desktop$/Emails"
ENCRYPTED_PASSWORD.encrypt(8)
str EMAIL=
;smtp_server smtp.gmail.com
;smtp_port 465
;smtp_user EMAIL_ACCOUNT
;smtp_password ENCRYPTED_PASSWORD
;smtp_auth 2
;smtp_secure 1
;smtp_timeout 60
;smtp_email EMAIL_ACCOUNT
;smtp_displayname EMAIL_ACCOUNT
;smtp_replyto EMAIL_ACCOUNT
;pop_server pop.gmail.com
;pop_port 995
;pop_user EMAIL_ACCOUNT
;pop_password ENCRYPTED_PASSWORD
;pop_auth 0
;pop_secure 1
;pop_timeout 60
EMAIL.findreplace("EMAIL_ACCOUNT" EMAIL_ACCOUNT)
EMAIL.findreplace("ENCRYPTED_PASSWORD" ENCRYPTED_PASSWORD)
ARRAY(str) a
ReceiveMail(EMAIL 0x100 DownLoadFolder a)