PxPlus User Forum

Twitter Twitter Twitter

Author Topic: How to pass the userid and password to *web Email  (Read 1481 times)

PxPlus

  • Administrator
  • Diamond Member
  • *****
  • Posts: 1091
    • View Profile
How to pass the userid and password to *web Email
« on: May 31, 2018, 10:35:39 AM »
When you pass is the SMTP Server Name add + ";;" + user$ + ";" + pswd$

Example:

  CALL "*web/email",ERR=SEND_HTML_ERR,FROMADDRESS$,
     "",TOADDRESS$,CCADDRESS$,BCCADDRESS$,SUBJECT$,
     MESSAGE$,ATTACHMENTS$,OPTIONS$,SMTPSERVER$+";;"+user$+";"+pswd$,
     0,0,BODYENCODING$,ERASEIT,ERRORMESG$,SENTDIRECTORY$,SAVEDFILENAME$

This will pass the userid and password specified to the SMTP server.