Last updated
Last updated
(plugins.mail)
Type | Name | Summary |
---|---|---|
Type | Name | Summary |
---|---|---|
Returns the value of the mail.from property which is set on the admin page.
Type String
Sample
Creates a binary attachment object.
Parameters
Returns: Attachment
Sample
Creates a binary attachment object.
Parameters
Returns: Attachment
Sample
Creates a text based attachment objec with the default 'text/plain' mimetype
Parameters
Returns: Attachment
Sample
Creates a text based attachment object.
Parameters
Returns: Attachment
Sample
Get the exception that occurred in the last sendMail attempt (null if no exception occurred).
Returns: String
Sample
Helper method, returns MailMessage object from binary or 7bits string.
Parameters
Object binaryblob/string ;
Returns: MailMessage
Sample
Helper method to only get the plain addresses.
Parameters
Object addressesString ;
Returns: Array
Sample
Checks whether the given e-mail address is valid or not.
Parameters
String email ;
Returns: Boolean
Sample
Receive mails from pop3 account.
Parameters
Returns: Array
Sample
Receive mails from pop3 account.
Parameters
Returns: Array
Sample
Receive mails from pop3 account.
Parameters
String username ;
String password ;
Boolean leaveMsgsOnServer ;
Number receiveMode ;
Date onlyReceiveMsgWithSentDate ;
Returns: Array
Sample
Receive mails from pop3 account.
Parameters
String username ;
String password ;
Boolean leaveMsgsOnServer ;
Number receiveMode ;
Date onlyReceiveMsgWithSentDate ;
String pop3Host ;
Returns: Array
Sample
Receive mails from pop3 account.
Parameters
String username ;
String password ;
Boolean leaveMsgsOnServer ;
Number receiveMode ;
Date onlyReceiveMsgWithSentDate ;
Array properties ;
Returns: Array
Sample
Send a bulk mail, if you make the msgText start with <html> the message will be sent in html (and you can use all html formatting). A bulk email makes it possible for one to not receive "out of office" emails back from receiver.
Parameters
String to A string containing 1 or multiple addresses separated by a comma.
String from A string containing an address and optional reply addresses, separated by commas.
String subject The subject of the bulk mail
String msgText The message text
Returns: Boolean
Sample
Send a bulk mail, if you make the msgText start with <html> the message will be sent in html (and you can use all html formatting). A bulk email makes it possible for one to not receive "out of office" emails back from receiver.
Parameters
String to A string containing 1 or multiple addresses separated by a comma.
String from A string containing an address and optional reply addresses, separated by commas.
String subject The subject of the bulk mail
String msgText The message text
String cc One or more addresses separated by a comma
Returns: Boolean
Sample
Send a bulk mail, if you make the msgText start with <html> the message will be sent in html (and you can use all html formatting). A bulk email makes it possible for one to not receive "out of office" emails back from receiver.
Parameters
String to A string containing 1 or multiple addresses separated by a comma.
String from A string containing an address and optional reply addresses, separated by commas.
String subject The subject of the bulk mail
String msgText The message text
String cc One or more addresses separated by a comma
String bcc One or more addresses separated by a comma
Returns: Boolean
Sample
Send a bulk mail, if you make the msgText start with <html> the message will be sent in html (and you can use all html formatting). A bulk email makes it possible for one to not receive "out of office" emails back from receiver.
Parameters
String to A string containing 1 or multiple addresses separated by a comma.
String from A string containing an address and optional reply addresses, separated by commas.
String subject The subject of the bulk mail
String msgText The message text
String cc One or more addresses separated by a comma
String bcc One or more addresses separated by a comma
Attachment attachment A single attachment
Returns: Boolean
Sample
Send a bulk mail, if you make the msgText start with <html> the message will be sent in html (and you can use all html formatting). A bulk email makes it possible for one to not receive "out of office" emails back from receiver.
Parameters
String to A string containing 1 or multiple addresses separated by a comma.
String from A string containing an address and optional reply addresses, separated by commas.
String subject The subject of the bulk mail
String msgText The message text
String cc One or more addresses separated by a comma
String bcc One or more addresses separated by a comma
Attachment attachment A single attachment
String smtpHost The smtp host
Returns: Boolean
Sample
Send a bulk mail, if you make the msgText start with <html> the message will be sent in html (and you can use all html formatting). A bulk email makes it possible for one to not receive "out of office" emails back from receiver.
Parameters
String to A string containing 1 or multiple addresses separated by a comma.
String from A string containing an address and optional reply addresses, separated by commas.
String subject The subject of the bulk mail
String msgText The message text
String cc One or more addresses separated by a comma
String bcc One or more addresses separated by a comma
Attachment attachment A single attachment
Array overrideProperties An array of properties
Returns: Boolean
Sample
Send a bulk mail, if you make the msgText start with <html> the message will be sent in html (and you can use all html formatting). A bulk email makes it possible for one to not receive "out of office" emails back from receiver.
Parameters
String to A string containing 1 or multiple addresses separated by a comma.
String from A string containing an address and optional reply addresses, separated by commas.
String subject The subject of the bulk mail
String msgText The message text
String cc One or more addresses separated by a comma
String bcc One or more addresses separated by a comma
Array attachments The attachments
Returns: Boolean
Sample
Send a bulk mail, if you make the msgText start with <html> the message will be sent in html (and you can use all html formatting). A bulk email makes it possible for one to not receive "out of office" emails back from receiver.
Parameters
String to A string containing 1 or multiple addresses separated by a comma.
String from A string containing an address and optional reply addresses, separated by commas.
String subject The subject of the bulk mail
String msgText The message text
String cc One or more addresses separated by a comma
String bcc One or more addresses separated by a comma
Array attachments The attachments
String smtpHost The smtp host
Returns: Boolean
Sample
Send a bulk mail, if you make the msgText start with <html> the message will be sent in html (and you can use all html formatting). A bulk email makes it possible for one to not receive "out of office" emails back from receiver.
Parameters
String to A string containing 1 or multiple addresses separated by a comma.
String from A string containing an address and optional reply addresses, separated by commas.
String subject The subject of the bulk mail
String msgText The message text
String cc One or more addresses separated by a comma
String bcc One or more addresses separated by a comma
Array attachments The attachments
Array overrideProperties An array of properties
Returns: Boolean
Sample
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). If you want to have a different reply address than from, you can specify this with the from parameter by adding another email after it.
Parameters
String to A string containing 1 or multiple addresses separated by a comma.
String from A string containing an address and optional reply addresses, separated by commas.
String subject The subject of the mail
String msgText The message text
Returns: Boolean
Sample
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). If you want to have a different reply address than from, you can specify this with the from parameter by adding another email after it.
Parameters
String to A string containing 1 or multiple addresses separated by a comma.
String from A string containing an address and optional reply addresses, separated by commas.
String subject The subject of the mail
String msgText The message text
String cc One or more addresses separated by a comma
Returns: Boolean
Sample
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). If you want to have a different reply address than from, you can specify this with the from parameter by adding another email after it.
Parameters
String to A string containing 1 or multiple addresses separated by a comma.
String from A string containing an address and optional reply addresses, separated by commas.
String subject The subject of the mail
String msgText The message text
String cc One or more addresses separated by a comma
String bcc One or more addresses separated by a comma
Returns: Boolean
Sample
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). If you want to have a different reply address than from, you can specify this with the from parameter by adding another email after it.
Parameters
String to A string containing 1 or multiple addresses separated by a comma.
String from A string containing an address and optional reply addresses, separated by commas.
String subject The subject of the mail
String msgText The message text
String cc One or more addresses separated by a comma
String bcc One or more addresses separated by a comma
Attachment attachment A single attachment
Returns: Boolean
Sample
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). If you want to have a different reply address than from, you can specify this with the from parameter by adding another email after it.
Parameters
String to A string containing 1 or multiple addresses separated by a comma.
String from A string containing an address and optional reply addresses, separated by commas.
String subject The subject of the mail
String msgText The message text
String cc One or more addresses separated by a comma
String bcc One or more addresses separated by a comma
Attachment attachment A single attachment
String smtpHost The smtp host
Returns: Boolean
Sample
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). If you want to have a different reply address than from, you can specify this with the from parameter by adding another email after it.
Parameters
String to A string containing 1 or multiple addresses separated by a comma.
String from A string containing an address and optional reply addresses, separated by commas.
String subject The subject of the mail
String msgText The message text
String cc One or more addresses separated by a comma
String bcc One or more addresses separated by a comma
Attachment attachment A single attachment
Array overrideProperties An array of properties
Returns: Boolean
Sample
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). If you want to have a different reply address than from, you can specify this with the from parameter by adding another email after it.
Parameters
String to A string containing 1 or multiple addresses separated by a comma.
String from A string containing an address and optional reply addresses, separated by commas.
String subject The subject of the mail
String msgText The message text
String cc One or more addresses separated by a comma
String bcc One or more addresses separated by a comma
Array attachments The attachments
Returns: Boolean
Sample
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). If you want to have a different reply address than from, you can specify this with the from parameter by adding another email after it.
Parameters
String to A string containing 1 or multiple addresses separated by a comma.
String from A string containing an address and optional reply addresses, separated by commas.
String subject The subject of the mail
String msgText The message text
String cc One or more addresses separated by a comma
String bcc One or more addresses separated by a comma
Array attachments The attachments
String smtpHost The smtp host
Returns: Boolean
Sample
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). If you want to have a different reply address than from, you can specify this with the from parameter by adding another email after it.
Parameters
String to A string containing 1 or multiple addresses separated by a comma.
String from A string containing an address and optional reply addresses, separated by commas.
String subject The subject of the mail
String msgText The message text
String cc One or more addresses separated by a comma
String bcc One or more addresses separated by a comma
Array attachments The attachments
Array overrideProperties An array of properties
Returns: Boolean
Sample
Returns the value of the mail.
Creates a binary attachment object.
Creates a binary attachment object.
Creates a text based attachment objec with the default 'text/plain' mimetype
Creates a text based attachment object.
Get the exception that occurred in the last sendMail attempt (null if no exception occurred).
Helper method, returns MailMessage object from binary or 7bits string.
Helper method to only get the plain addresses.
Checks whether the given e-mail address is valid or not.
Receive mails from pop3 account.
Receive mails from pop3 account.
Receive mails from pop3 account.
Receive mails from pop3 account.
Receive mails from pop3 account.
Send a bulk mail, if you make the msgText start with <html> the message will be sent in html (and you can use all html formatting).
Send a bulk mail, if you make the msgText start with <html> the message will be sent in html (and you can use all html formatting).
Send a bulk mail, if you make the msgText start with <html> the message will be sent in html (and you can use all html formatting).
Send a bulk mail, if you make the msgText start with <html> the message will be sent in html (and you can use all html formatting).
Send a bulk mail, if you make the msgText start with <html> the message will be sent in html (and you can use all html formatting).
Send a bulk mail, if you make the msgText start with <html> the message will be sent in html (and you can use all html formatting).
Send a bulk mail, if you make the msgText start with <html> the message will be sent in html (and you can use all html formatting).
Send a bulk mail, if you make the msgText start with <html> the message will be sent in html (and you can use all html formatting).
Send a bulk mail, if you make the msgText start with <html> the message will be sent in html (and you can use all html formatting).
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).
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).
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).
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).
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).
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).
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).
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).
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).