Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Code Block
var userName = 'xxx';
var passWord = 'yyy';
var properties = new Array();
properties[0] = 'mail.smtp.host=smtp.gmail.com';
properties[1] = 'mail.smtp.auth=true';
properties[2] = 'mail.smtp.username=' + userName;
properties[3] = 'mail.smtp.password=' + passWord;
properties[4] = 'mail.smtp.port=587';
properties[5] = 'mail.smtp.starttls.enable=true';


HTML Table
idclassservoy sReturnTypes
Table Row (tr)
styleheight: 30px;
Table Head (th)
Return Types
Table Row (tr)
Table Cell (td)
Span
classsWordList
Attachment
Span
classsWordList
MailMessage

id
HTML Table
classservoy sSummery
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Server Property Summery
Table Body (tbody)
Table Row (tr)
Table Cell (td)

Table Cell (td)
#mail.development.override.address
Table Body (tbody)
Table Row (tr)
Table Cell (td)

Table Cell (td)
#mail.from
Table Body (tbody)
Table Row (tr)
Table Cell (td)

Table Cell (td)
#mail.mime.charset
Table Body (tbody)
Table Row (tr)
Table Cell (td)

Table Cell (td)
#mail.pop3.apop.enable
Table Body (tbody)
Table Row (tr)
Table Cell (td)

Table Cell (td)
#mail.pop3.host
Table Body (tbody)
Table Row (tr)
Table Cell (td)

Table Cell (td)
#mail.server.allowUnauthenticatedRMIAccess
Table Body (tbody)
Table Row (tr)
Table Cell (td)

Table Cell (td)
#mail.smtp.auth
Table Body (tbody)
Table Row (tr)
Table Cell (td)

Table Cell (td)
#mail.smtp.connectiontimeout
Table Body (tbody)
Table Row (tr)
Table Cell (td)

Table Cell (td)
#mail.smtp.host
Table Body (tbody)
Table Row (tr)
Table Cell (td)

Table Cell (td)
#mail.smtp.password
Table Body (tbody)
Table Row (tr)
Table Cell (td)

Table Cell (td)
#mail.smtp.port
Table Body (tbody)
Table Row (tr)
Table Cell (td)

Table Cell (td)
#mail.smtp.ssl.enable
Table Body (tbody)
Table Row (tr)
Table Cell (td)

Table Cell (td)
#mail.smtp.timeout
Table Body (tbody)
Table Row (tr)
Table Cell (td)

Table Cell (td)
#mail.smtp.username

id
HTML Table
classservoy sSummery
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Method Summery
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Attachment
Table Cell (td)
#createBinaryAttachment(filename, binarydata, [mimeType])
Creates a binary attachment object.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Attachment
Table Cell (td)
#createTextAttachment(filename, textdata, [mimeType])
Creates a text based attachment object.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String
Table Cell (td)
#getLastSendMailExceptionMsg()
Get the exception that occurred in the last sendMail attempt (null if no exception occurred).
Table Body (tbody)
Table Row (tr)
Table Cell (td)
MailMessage
Table Cell (td)
#getMailMessage(binaryblob/string)
Helper method, returns MailMessage object from binary or 7bits string.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
String[]
Table Cell (td)
#getPlainMailAddresses(addressesString)
Helper method to only get the plain addresses.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
MailMessage[]
Table Cell (td)
#receiveMail(userName, password, leaveMsgsOnServer, [receiveMode], [onlyreceiveMsgWithSentDate], [overridePreferencePOP3Host/properties array])
Receive mails from pop3 account.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Boolean
Table Cell (td)
#sendMail([to[,to2,toN], [from[,reply], subject, msgText, [cc,cc2,ccN], [bcc,bcc2,bccN], [attachment/attachments array], [overridePreferenceSMTPHost/properties array])
Send a mail, if you make the msgText start with <html> the message will be sent in html (and you can use all html formatting).

...