Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Encrypting password for email
#1
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 Smile

Thanks,
Jimmy Vig


Function Gmail_DownLoad
Code:
Copy      Help
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)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)