Tutorials Modules Namespaces Classes Interfaces Events Mixins Global
TubMailSenderBind
Constructor
Arguments:
paramsObj
(Object )
 parameters object
Properties
host
(String )
 host of mail server
port
(String )
 port of mail server
[user='']
(String )
 user login on mail server
[password='']
(String )
 user password on mail server
[tls=false]
(Boolean )
 use tls. In UBMail tls is
not implemented so you will get an exception when set this value true.
For using tls use UBMail_openssl
class
[auth=false]
(Boolean )
 is need user authentication
Methods
send a email message
Arguments:
mailObj
(Object )
 sending mail object
Properties
[subject]
(String )
 mail subject
[bodyType=UBMail.TubSendMailBodyType.Text]
(UBMail.TubSendMailBodyType )
 mail body type
[body='']
(String )
 mail body. If bodyType is Calendar then valid *.ics file
[fromAddr='']
(String )
 sender address
[toAddr=[]]
(Array.<String> )
 array of receivers addresses
[attaches=[]]
(Array.<UBMail.TubMailAttach> )
 array of attaches. Ignoreg when bodyType is Calendar.
Generated by JSDoc 3.4.3 on Sun Aug 27 2017 14:41:03 GMT+0300 (FLE Daylight Time) using the ub-jsdoc theme.