Page History
...
style | display:none |
---|
...
Div | ||
---|---|---|
| ||
Using GMail
|
...
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
padding | 0px |
---|---|
width | 80px |
...
Table Row (tr) | |||||
---|---|---|---|---|---|
| |||||
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
Table Row (tr) | ||||
---|---|---|---|---|
|
...
id | function |
---|---|
class | servoy sDetail |
...
padding | 0px |
---|---|
width | 100% |
Table Row (tr) | |||||
---|---|---|---|---|---|
| |||||
|
...
id | createBinaryAttachment-String_byteArray |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | createBinaryAttachment-String_byteArray_String |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | createTextAttachment-String_String |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | createTextAttachment-String_String_String |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | getLastSendMailExceptionMsg |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | getMailMessage- |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | getPlainMailAddresses- |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | isValidEmailAddress-String |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | receiveMail-String_String_Boolean |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | receiveMail-String_String_Boolean_Number |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | receiveMail-String_String_Boolean_Number_Date |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | receiveMail-String_String_Boolean_Number_Date_String |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | receiveMail-String_String_Boolean_Number_Date_StringArray |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | sendBulkMail-String_String_String_String |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | sendBulkMail-String_String_String_String_String |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | sendBulkMail-String_String_String_String_String_String |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | sendBulkMail-String_String_String_String_String_String_Attachment |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | sendBulkMail-String_String_String_String_String_String_Attachment_String |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | sendBulkMail-String_String_String_String_String_String_Attachment_StringArray |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | sendBulkMail-String_String_String_String_String_String_AttachmentArray |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | sendBulkMail-String_String_String_String_String_String_AttachmentArray_String |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
...
id | des |
---|
...
class | sIndent |
---|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | sendBulkMail-String_String_String_String_String_String_AttachmentArray_StringArray |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
...
id | des |
---|
...
class | sIndent |
---|
...
Cache | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
...
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | sendMail-String_String_String_String |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | sendMail-String_String_String_String_String |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
...
id | prs |
---|
...
class | sIndent |
---|
...
...
createBinaryAttachment(filename, binarydata)Creates a binary attachment object. Parameters Returns Supported Clients Sample createBinaryAttachment(filename, binarydata, mimeType)Creates a binary attachment object. Parameters Returns Supported Clients Sample createTextAttachment(filename, textdata)Creates a text based attachment objec with the default 'text/plain' mimetype Parameters Returns Supported Clients Sample createTextAttachment(filename, textdata, mimeType)Creates a text based attachment object. Parameters Returns Supported Clients Sample getLastSendMailExceptionMsg()Get the exception that occurred in the last sendMail attempt (null if no exception occurred). Returns Supported Clients Sample getMailMessage(binaryblob/string)Helper method, returns MailMessage object from binary or 7bits string. Parameters Returns Supported Clients Sample getPlainMailAddresses(addressesString)Helper method to only get the plain addresses. Parameters Returns Supported Clients Sample isValidEmailAddress(email)Checks whether the given e-mail address is valid or not. Parameters Returns Supported Clients Sample receiveMail(username, password, leaveMsgsOnServer)Receive mails from pop3 account. Parameters Returns Supported Clients Sample receiveMail(username, password, leaveMsgsOnServer, receiveMode)Receive mails from pop3 account. Parameters Returns Supported Clients Sample receiveMail(username, password, leaveMsgsOnServer, receiveMode, onlyReceiveMsgWithSentDate)Receive mails from pop3 account. Parameters Returns Supported Clients Sample receiveMail(username, password, leaveMsgsOnServer, receiveMode, onlyReceiveMsgWithSentDate, pop3Host)Receive mails from pop3 account. Parameters Returns Supported Clients Sample receiveMail(username, password, leaveMsgsOnServer, receiveMode, onlyReceiveMsgWithSentDate, properties)Receive mails from pop3 account. Parameters Returns Supported Clients Sample sendBulkMail(to, from, subject, msgText)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 |
...
...
...
...
...
...
...
...
Returns |
...
...
Supported Clients |
...
id | sam |
---|
...
Span | ||
---|---|---|
| ||
Boolean |
Span | ||
---|---|---|
| ||
sendMail |
...
Sample |
...
class | sIndent |
---|
...
Code Block | ||
---|---|---|
| ||
var msgText = 'plain msg<html>styled html msg<img src="%%embedded%%"></html>';
var success = plugins.mail.sendMail('[email protected],[email protected]', 'John Cobb <[email protected]>', 'subject', msgText,'[email protected],[email protected]');
if (!success)
{
plugins.dialogs.showWarningDialog('Alert','Failed to send mail','OK');
} |
...
class | lastDetailRow |
---|
...
id | sendMail-String_String_String_String_String_String |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
...
id | sig |
---|
sendBulkMail(to, from, subject, msgText, cc)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 Returns Supported Clients Sample sendBulkMail(to, from, subject, msgText, cc, bcc) |
...
...
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). |
...
id | prs |
---|
...
class | sIndent |
---|
...
A bulk email makes it possible for one to not receive "out of office" emails back from receiver. Parameters |
...
...
...
...
...
...
...
...
...
...
...
...
Returns |
...
...
Supported Clients |
...
id | sam |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
...
id | sig |
---|
...
Span | ||
---|---|---|
| ||
Boolean |
Span | ||
---|---|---|
| ||
sendMail |
...
Sample |
...
class | sIndent |
---|
...
Code Block | ||
---|---|---|
| ||
var msgText = 'plain msg<html>styled html msg<img src="%%embedded%%"></html>';
var success = plugins.mail.sendMail('[email protected],[email protected]', 'John Cobb <[email protected]>', 'subject', msgText,null,'[email protected]');
if (!success)
{
plugins.dialogs.showWarningDialog('Alert','Failed to send mail','OK');
} |
...
class | lastDetailRow |
---|
...
id | sendMail-String_String_String_String_String_String_Attachment |
---|
sendBulkMail(to, from, subject, msgText, cc, bcc, attachment)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 Returns Supported Clients Sample sendBulkMail(to, from, subject, msgText, cc, bcc, attachment, smtpHost) |
...
...
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). |
...
id | prs |
---|
...
class | sIndent |
---|
...
A bulk email makes it possible for one to not receive "out of office" emails back from receiver. Parameters |
...
...
...
...
...
...
...
...
...
...
...
...
...
id | ret |
---|
Returns |
...
...
Supported Clients |
...
...
Table Row (tr) | ||
---|---|---|
| ||
|
...
id | sig |
---|
...
Span | ||
---|---|---|
| ||
Boolean |
Span | ||
---|---|---|
| ||
sendMail |
...
Sample |
...
class | sIndent |
---|
...
Code Block | ||
---|---|---|
| ||
var attachment = plugins.mail.createBinaryAttachment('embedded',plugins.file.readFile('c:/temp/a_logo.gif'));
var msgText = 'plain msg<html>styled html msg<img src="%%embedded%%"></html>';
var success = plugins.mail.sendMail('[email protected],[email protected]', 'John Cobb <[email protected]>', 'subject', msgText,null,'[email protected],[email protected]',attachment);
if (!success)
{
plugins.dialogs.showWarningDialog('Alert','Failed to send mail','OK');
} |
...
class | lastDetailRow |
---|
...
id | sendMail-String_String_String_String_String_String_Attachment_String |
---|
sendBulkMail(to, from, subject, msgText, cc, bcc, attachment, overrideProperties)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 Returns Supported Clients Sample sendBulkMail(to, from, subject, msgText, cc, bcc, |
...
id | des |
---|
...
attachments)Send a bulk mail, if you make the |
...
id | prs |
---|
...
class | sIndent |
---|
...
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 |
...
...
...
...
...
...
...
...
...
...
...
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | sendMail-String_String_String_String_String_String_Attachment_StringArray |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
...
id | sig |
---|
...
Span | ||
---|---|---|
| ||
Boolean |
Span | ||
---|---|---|
| ||
sendMail |
...
Returns Supported Clients Sample sendBulkMail(to, from, subject, msgText, cc, bcc, attachments, smtpHost)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 Returns Supported Clients Sample sendBulkMail(to, from, subject, msgText, cc, bcc, |
...
attachments, overrideProperties) |
...
...
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). |
...
id | prs |
---|
...
class | sIndent |
---|
...
A bulk email makes it possible for one to not receive "out of office" emails back from receiver. Parameters |
...
...
...
...
...
...
...
...
...
...
...
...
...
Returns |
...
...
Supported Clients |
...
id | sam |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
...
id | sig |
---|
...
Span | ||
---|---|---|
| ||
Boolean |
Span | ||
---|---|---|
| ||
sendMail |
...
Sample |
...
class | sIndent |
---|
...
Code Block | ||
---|---|---|
| ||
var attachment = plugins.mail.createBinaryAttachment('embedded',plugins.file.readFile('c:/temp/a_logo.gif'));
var msgText = 'plain msg<html>styled html msg<img src="%%embedded%%"></html>';
//it is possbile to set all kind of smtp properties
var properties = new Array()
properties[0] = 'mail.smtp.host=myserver.com'
// properties specification can be found at:http://java.sun.com/products/javamail/javadocs/com/sun/mail/smtp/package-summary.html
var success = plugins.mail.sendMail('[email protected],[email protected]', 'John Cobb <[email protected]>', 'subject', msgText,null,'[email protected]',attachment,properties);
if (!success)
{
plugins.dialogs.showWarningDialog('Alert','Failed to send mail','OK');
} |
...
class | lastDetailRow |
---|
...
id | sendMail-String_String_String_String_String_String_AttachmentArray |
---|
sendMail(to, from, subject, msgText)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). Parameters Returns Supported Clients Sample sendMail(to, from, subject, msgText, cc)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). Parameters Returns Supported Clients Sample sendMail(to, from, subject, msgText, cc, bcc |
...
) |
...
...
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). |
...
...
Parameters |
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Returns |
...
...
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | sendMail-String_String_String_String_String_String_AttachmentArray_String |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
...
id | sig |
---|
...
Span | ||
---|---|---|
| ||
Boolean |
Span | ||
---|---|---|
| ||
sendMail |
...
Supported Clients Sample sendMail(to, from, subject, msgText, cc, bcc, attachment)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). Parameters Returns Supported Clients Sample sendMail(to, from, subject, msgText, cc, bcc, |
...
attachment, smtpHost) |
...
...
...
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). |
...
...
Parameters |
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | sendMail-String_String_String_String_String_String_AttachmentArray_StringArray |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
...
id | sig |
---|
...
Span | ||
---|---|---|
| ||
Boolean |
Span | ||
---|---|---|
| ||
sendMail |
...
Returns Supported Clients Sample sendMail(to, from, subject, msgText, cc, bcc, attachment, overrideProperties)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). Parameters Returns Supported Clients Sample sendMail(to, from, subject, msgText, cc, bcc, attachments |
...
) |
...
...
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). |
...
...
Parameters |
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Returns |
...
...
Supported Clients |
...
...
class | lastDetailRow |
---|
...
Sample |
...
class | sIndent |
---|
...
Code Block | ||
---|---|---|
| ||
var attachment1 = plugins.mail.createBinaryAttachment('embedded',plugins.file.readFile('c:/temp/a_logo.gif'));
var attachment2 = plugins.mail.createTextAttachment('embedded','A text attachement');
var msgText = 'plain msg<html>styled html msg<img src="%%embedded%%"></html>';
//it is possbile to set all kind of smtp properties
var properties = new Array()
properties[0] = 'mail.smtp.host=myserver.com'
// properties specification can be found at:http://java.sun.com/products/javamail/javadocs/com/sun/mail/smtp/package-summary.html
var success = plugins.mail.sendMail('[email protected],[email protected]', 'John Cobb <[email protected]>', 'subject', msgText,null,'[email protected]',[attachment1,attachement2],properties);
if (!success)
{
plugins.dialogs.showWarningDialog('Alert','Failed to send mail','OK');
} |
sendMail(to, from, subject, msgText, cc, bcc, attachments, smtpHost)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). Parameters Returns Supported Clients Sample sendMail(to, from, subject, msgText, cc, bcc, attachments, overrideProperties)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). Parameters Returns Supported Clients Sample |