Child pages
  • MailMessage

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
{hidden} DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING. THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE{hidden} {sub-section:description|text=}{sub-section}\\{table:class=servoy sSummery}{colgroup}{column:width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method Summary{th}{tr}{tbody}{tr}{td}[Attachment]\[]{td}{td}[#getAttachments]\() Returns an array of Attachment instances corresponding to the attachments of this message.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getCCAddresses]\() Returns a String with all addresses present in the CC field of this message.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getFromAddresses]\() Returns a String with all addresses present in the From field of this message.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getHeaders]\() Returns a String with all headers of this message.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getHtmlMsg]\() Returns a String with the HTML content of this message.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getPlainMsg]\() Returns a String with the plain content of this message.{td}{tr}{tbody}{tbody}{tr}{td}[Date]{td}{td}[#getReceivedDate]\() Returns a Date instace corresponding to the moment when the message was received.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getRecipientAddresses]\() Returns a String with all addresses in the To field of this message.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getReplyAddresses]\() Returns a String with all addresses in the Reply-To field of this message.{td}{tr}{tbody}{tbody}{tr}{td}[Date]{td}{td}[#getSentDate]\() Returns a Date instance corresponding to the moment when this message was sent.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getSubject]\() Returns a String with the subject of this message.{td}{tr}{tbody}{table}\\{table:class=servoy sDetail}{colgroup}{column:width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=D52E2BD3-2C6D-4393-A595-02AC4B421817}{tr:id=name}{td}h6.getAttachments{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Attachment]\[]{span}{span:id=iets|style=float: left; font-weight: bold;}getAttachments{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:D52E2BD3-2C6D-4393-A595-02AC4B421817_des|text=|trigger=button}{sub-section}{sub-section:D52E2BD3-2C6D-4393-A595-02AC4B421817_des|trigger=none|class=sIndent}Returns an array of Attachment instances corresponding to the attachments of this message.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:D52E2BD3-2C6D-4393-A595-02AC4B421817_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:D52E2BD3-2C6D-4393-A595-02AC4B421817_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:D52E2BD3-2C6D-4393-A595-02AC4B421817_ret|text=|trigger=button}{sub-section}{sub-section:D52E2BD3-2C6D-4393-A595-02AC4B421817_ret|trigger=none|class=sIndent}[Attachment]\[]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:D52E2BD3-2C6D-4393-A595-02AC4B421817_see|text=|trigger=button}{sub-section}{sub-section:D52E2BD3-2C6D-4393-A595-02AC4B421817_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:D52E2BD3-2C6D-4393-A595-02AC4B421817_see|text=|trigger=button}{sub-section}{sub-section:D52E2BD3-2C6D-4393-A595-02AC4B421817_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:D52E2BD3-2C6D-4393-A595-02AC4B421817_sam|text=|trigger=button}{sub-section}{sub-section:D52E2BD3-2C6D-4393-A595-02AC4B421817_sam|class=sIndent|trigger=none}{code:language=javascript} var msgs = plugins.mail.receiveMail(username, password, true, 0, null, properties); if (msgs != null) { for (var i=0; i < msgs.length; i++) { var msg = msgs[i]; var str = ''; str += 'From: ' + msg.getFromAddresses() + '\n'; str += 'To: ' + msg.getRecipientAddresses() + '\n'; str += 'CC: ' + msg.getCCAddresses() + '\n'; str += 'Reply to: ' + msg.getReplyAddresses() + '\n'; str += 'Received on: ' + msg.getReceivedDate() + '\n'; str += 'Sent on: ' + msg.getSentDate() + '\n\n'; str += 'Subject: ' + msg.getSubject() + '\n\n'; str += 'Plain message: ' + msg.getPlainMsg() + '\n\n'; str += 'HTML message: ' + msg.getHtmlMsg() + '\n\n'; str += 'Headers: ' + msg.getHeaders() + '\n\n'; var attachments = msg.getAttachments(); if (attachments != null) { str += 'Number of attachments: ' + attachments.length + '\n\n'; for (var j=0; j < attachments.length; j++) { var attachment = attachments[j]; str += 'Attachment ' + j + '\n'; str += ' Name: ' + attachment.getName() + '\n'; str += ' Size: ' + attachment.getData().length + '\n\n'; } } plugins.file.writeTXTFile('msg' + i + '.txt', str); application.output('Message ' + i + ' retrieved.'); } } else { application.output("Failed to retrieve messages."); } {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=A41490B7-F918-49CB-A9DA-334FE0753BE5}{tr:id=name}{td}h6.getCCAddresses{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getCCAddresses{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:A41490B7-F918-49CB-A9DA-334FE0753BE5_des|text=|trigger=button}{sub-section}{sub-section:A41490B7-F918-49CB-A9DA-334FE0753BE5_des|trigger=none|class=sIndent}Returns a String with all addresses present in the CC field of this message.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:A41490B7-F918-49CB-A9DA-334FE0753BE5_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:A41490B7-F918-49CB-A9DA-334FE0753BE5_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:A41490B7-F918-49CB-A9DA-334FE0753BE5_ret|text=|trigger=button}{sub-section}{sub-section:A41490B7-F918-49CB-A9DA-334FE0753BE5_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:A41490B7-F918-49CB-A9DA-334FE0753BE5_see|text=|trigger=button}{sub-section}{sub-section:A41490B7-F918-49CB-A9DA-334FE0753BE5_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:A41490B7-F918-49CB-A9DA-334FE0753BE5_see|text=|trigger=button}{sub-section}{sub-section:A41490B7-F918-49CB-A9DA-334FE0753BE5_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:A41490B7-F918-49CB-A9DA-334FE0753BE5_sam|text=|trigger=button}{sub-section}{sub-section:A41490B7-F918-49CB-A9DA-334FE0753BE5_sam|class=sIndent|trigger=none}{code:language=javascript} var msgs = plugins.mail.receiveMail(username, password, true, 0, null, properties); if (msgs != null) { for (var i=0; i < msgs.length; i++) { var msg = msgs[i]; var str = ''; str += 'From: ' + msg.getFromAddresses() + '\n'; str += 'To: ' + msg.getRecipientAddresses() + '\n'; str += 'CC: ' + msg.getCCAddresses() + '\n'; str += 'Reply to: ' + msg.getReplyAddresses() + '\n'; str += 'Received on: ' + msg.getReceivedDate() + '\n'; str += 'Sent on: ' + msg.getSentDate() + '\n\n'; str += 'Subject: ' + msg.getSubject() + '\n\n'; str += 'Plain message: ' + msg.getPlainMsg() + '\n\n'; str += 'HTML message: ' + msg.getHtmlMsg() + '\n\n'; str += 'Headers: ' + msg.getHeaders() + '\n\n'; var attachments = msg.getAttachments(); if (attachments != null) { str += 'Number of attachments: ' + attachments.length + '\n\n'; for (var j=0; j < attachments.length; j++) { var attachment = attachments[j]; str += 'Attachment ' + j + '\n'; str += ' Name: ' + attachment.getName() + '\n'; str += ' Size: ' + attachment.getData().length + '\n\n'; } } plugins.file.writeTXTFile('msg' + i + '.txt', str); application.output('Message ' + i + ' retrieved.'); } } else { application.output("Failed to retrieve messages."); } {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=714A60CC-DE7F-4064-A89A-77BA1E3FE8BF}{tr:id=name}{td}h6.getFromAddresses{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getFromAddresses{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:714A60CC-DE7F-4064-A89A-77BA1E3FE8BF_des|text=|trigger=button}{sub-section}{sub-section:714A60CC-DE7F-4064-A89A-77BA1E3FE8BF_des|trigger=none|class=sIndent}Returns a String with all addresses present in the From field of this message.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:714A60CC-DE7F-4064-A89A-77BA1E3FE8BF_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:714A60CC-DE7F-4064-A89A-77BA1E3FE8BF_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:714A60CC-DE7F-4064-A89A-77BA1E3FE8BF_ret|text=|trigger=button}{sub-section}{sub-section:714A60CC-DE7F-4064-A89A-77BA1E3FE8BF_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:714A60CC-DE7F-4064-A89A-77BA1E3FE8BF_see|text=|trigger=button}{sub-section}{sub-section:714A60CC-DE7F-4064-A89A-77BA1E3FE8BF_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:714A60CC-DE7F-4064-A89A-77BA1E3FE8BF_see|text=|trigger=button}{sub-section}{sub-section:714A60CC-DE7F-4064-A89A-77BA1E3FE8BF_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:714A60CC-DE7F-4064-A89A-77BA1E3FE8BF_sam|text=|trigger=button}{sub-section}{sub-section:714A60CC-DE7F-4064-A89A-77BA1E3FE8BF_sam|class=sIndent|trigger=none}{code:language=javascript} var msgs = plugins.mail.receiveMail(username, password, true, 0, null, properties); if (msgs != null) { for (var i=0; i < msgs.length; i++) { var msg = msgs[i]; var str = ''; str += 'From: ' + msg.getFromAddresses() + '\n'; str += 'To: ' + msg.getRecipientAddresses() + '\n'; str += 'CC: ' + msg.getCCAddresses() + '\n'; str += 'Reply to: ' + msg.getReplyAddresses() + '\n'; str += 'Received on: ' + msg.getReceivedDate() + '\n'; str += 'Sent on: ' + msg.getSentDate() + '\n\n'; str += 'Subject: ' + msg.getSubject() + '\n\n'; str += 'Plain message: ' + msg.getPlainMsg() + '\n\n'; str += 'HTML message: ' + msg.getHtmlMsg() + '\n\n'; str += 'Headers: ' + msg.getHeaders() + '\n\n'; var attachments = msg.getAttachments(); if (attachments != null) { str += 'Number of attachments: ' + attachments.length + '\n\n'; for (var j=0; j < attachments.length; j++) { var attachment = attachments[j]; str += 'Attachment ' + j + '\n'; str += ' Name: ' + attachment.getName() + '\n'; str += ' Size: ' + attachment.getData().length + '\n\n'; } } plugins.file.writeTXTFile('msg' + i + '.txt', str); application.output('Message ' + i + ' retrieved.'); } } else { application.output("Failed to retrieve messages."); } {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=5C47E5D2-B6C3-4899-8553-F74A20229084}{tr:id=name}{td}h6.getHeaders{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getHeaders{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:5C47E5D2-B6C3-4899-8553-F74A20229084_des|text=|trigger=button}{sub-section}{sub-section:5C47E5D2-B6C3-4899-8553-F74A20229084_des|trigger=none|class=sIndent}Returns a String with all headers of this message.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:5C47E5D2-B6C3-4899-8553-F74A20229084_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:5C47E5D2-B6C3-4899-8553-F74A20229084_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:5C47E5D2-B6C3-4899-8553-F74A20229084_ret|text=|trigger=button}{sub-section}{sub-section:5C47E5D2-B6C3-4899-8553-F74A20229084_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:5C47E5D2-B6C3-4899-8553-F74A20229084_see|text=|trigger=button}{sub-section}{sub-section:5C47E5D2-B6C3-4899-8553-F74A20229084_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:5C47E5D2-B6C3-4899-8553-F74A20229084_see|text=|trigger=button}{sub-section}{sub-section:5C47E5D2-B6C3-4899-8553-F74A20229084_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:5C47E5D2-B6C3-4899-8553-F74A20229084_sam|text=|trigger=button}{sub-section}{sub-section:5C47E5D2-B6C3-4899-8553-F74A20229084_sam|class=sIndent|trigger=none}{code:language=javascript} var msgs = plugins.mail.receiveMail(username, password, true, 0, null, properties); if (msgs != null) { for (var i=0; i < msgs.length; i++) { var msg = msgs[i]; var str = ''; str += 'From: ' + msg.getFromAddresses() + '\n'; str += 'To: ' + msg.getRecipientAddresses() + '\n'; str += 'CC: ' + msg.getCCAddresses() + '\n'; str += 'Reply to: ' + msg.getReplyAddresses() + '\n'; str += 'Received on: ' + msg.getReceivedDate() + '\n'; str += 'Sent on: ' + msg.getSentDate() + '\n\n'; str += 'Subject: ' + msg.getSubject() + '\n\n'; str += 'Plain message: ' + msg.getPlainMsg() + '\n\n'; str += 'HTML message: ' + msg.getHtmlMsg() + '\n\n'; str += 'Headers: ' + msg.getHeaders() + '\n\n'; var attachments = msg.getAttachments(); if (attachments != null) { str += 'Number of attachments: ' + attachments.length + '\n\n'; for (var j=0; j < attachments.length; j++) { var attachment = attachments[j]; str += 'Attachment ' + j + '\n'; str += ' Name: ' + attachment.getName() + '\n'; str += ' Size: ' + attachment.getData().length + '\n\n'; } } plugins.file.writeTXTFile('msg' + i + '.txt', str); application.output('Message ' + i + ' retrieved.'); } } else { application.output("Failed to retrieve messages."); } {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=CE1B84BF-8199-4D86-B5A7-AF3FBDA4D1A9}{tr:id=name}{td}h6.getHtmlMsg{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getHtmlMsg{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:CE1B84BF-8199-4D86-B5A7-AF3FBDA4D1A9_des|text=|trigger=button}{sub-section}{sub-section:CE1B84BF-8199-4D86-B5A7-AF3FBDA4D1A9_des|trigger=none|class=sIndent}Returns a String with the HTML content of this message.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:CE1B84BF-8199-4D86-B5A7-AF3FBDA4D1A9_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:CE1B84BF-8199-4D86-B5A7-AF3FBDA4D1A9_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:CE1B84BF-8199-4D86-B5A7-AF3FBDA4D1A9_ret|text=|trigger=button}{sub-section}{sub-section:CE1B84BF-8199-4D86-B5A7-AF3FBDA4D1A9_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:CE1B84BF-8199-4D86-B5A7-AF3FBDA4D1A9_see|text=|trigger=button}{sub-section}{sub-section:CE1B84BF-8199-4D86-B5A7-AF3FBDA4D1A9_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:CE1B84BF-8199-4D86-B5A7-AF3FBDA4D1A9_see|text=|trigger=button}{sub-section}{sub-section:CE1B84BF-8199-4D86-B5A7-AF3FBDA4D1A9_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:CE1B84BF-8199-4D86-B5A7-AF3FBDA4D1A9_sam|text=|trigger=button}{sub-section}{sub-section:CE1B84BF-8199-4D86-B5A7-AF3FBDA4D1A9_sam|class=sIndent|trigger=none}{code:language=javascript} var msgs = plugins.mail.receiveMail(username, password, true, 0, null, properties); if (msgs != null) { for (var i=0; i < msgs.length; i++) { var msg = msgs[i]; var str = ''; str += 'From: ' + msg.getFromAddresses() + '\n'; str += 'To: ' + msg.getRecipientAddresses() + '\n'; str += 'CC: ' + msg.getCCAddresses() + '\n'; str += 'Reply to: ' + msg.getReplyAddresses() + '\n'; str += 'Received on: ' + msg.getReceivedDate() + '\n'; str += 'Sent on: ' + msg.getSentDate() + '\n\n'; str += 'Subject: ' + msg.getSubject() + '\n\n'; str += 'Plain message: ' + msg.getPlainMsg() + '\n\n'; str += 'HTML message: ' + msg.getHtmlMsg() + '\n\n'; str += 'Headers: ' + msg.getHeaders() + '\n\n'; var attachments = msg.getAttachments(); if (attachments != null) { str += 'Number of attachments: ' + attachments.length + '\n\n'; for (var j=0; j < attachments.length; j++) { var attachment = attachments[j]; str += 'Attachment ' + j + '\n'; str += ' Name: ' + attachment.getName() + '\n'; str += ' Size: ' + attachment.getData().length + '\n\n'; } } plugins.file.writeTXTFile('msg' + i + '.txt', str); application.output('Message ' + i + ' retrieved.'); } } else { application.output("Failed to retrieve messages."); } {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=51595B22-4608-4A3D-94E0-3FD8D7E5FAB2}{tr:id=name}{td}h6.getPlainMsg{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getPlainMsg{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:51595B22-4608-4A3D-94E0-3FD8D7E5FAB2_des|text=|trigger=button}{sub-section}{sub-section:51595B22-4608-4A3D-94E0-3FD8D7E5FAB2_des|trigger=none|class=sIndent}Returns a String with the plain content of this message.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:51595B22-4608-4A3D-94E0-3FD8D7E5FAB2_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:51595B22-4608-4A3D-94E0-3FD8D7E5FAB2_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:51595B22-4608-4A3D-94E0-3FD8D7E5FAB2_ret|text=|trigger=button}{sub-section}{sub-section:51595B22-4608-4A3D-94E0-3FD8D7E5FAB2_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:51595B22-4608-4A3D-94E0-3FD8D7E5FAB2_see|text=|trigger=button}{sub-section}{sub-section:51595B22-4608-4A3D-94E0-3FD8D7E5FAB2_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:51595B22-4608-4A3D-94E0-3FD8D7E5FAB2_see|text=|trigger=button}{sub-section}{sub-section:51595B22-4608-4A3D-94E0-3FD8D7E5FAB2_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:51595B22-4608-4A3D-94E0-3FD8D7E5FAB2_sam|text=|trigger=button}{sub-section}{sub-section:51595B22-4608-4A3D-94E0-3FD8D7E5FAB2_sam|class=sIndent|trigger=none}{code:language=javascript} var msgs = plugins.mail.receiveMail(username, password, true, 0, null, properties); if (msgs != null) { for (var i=0; i < msgs.length; i++) { var msg = msgs[i]; var str = ''; str += 'From: ' + msg.getFromAddresses() + '\n'; str += 'To: ' + msg.getRecipientAddresses() + '\n'; str += 'CC: ' + msg.getCCAddresses() + '\n'; str += 'Reply to: ' + msg.getReplyAddresses() + '\n'; str += 'Received on: ' + msg.getReceivedDate() + '\n'; str += 'Sent on: ' + msg.getSentDate() + '\n\n'; str += 'Subject: ' + msg.getSubject() + '\n\n'; str += 'Plain message: ' + msg.getPlainMsg() + '\n\n'; str += 'HTML message: ' + msg.getHtmlMsg() + '\n\n'; str += 'Headers: ' + msg.getHeaders() + '\n\n'; var attachments = msg.getAttachments(); if (attachments != null) { str += 'Number of attachments: ' + attachments.length + '\n\n'; for (var j=0; j < attachments.length; j++) { var attachment = attachments[j]; str += 'Attachment ' + j + '\n'; str += ' Name: ' + attachment.getName() + '\n'; str += ' Size: ' + attachment.getData().length + '\n\n'; } } plugins.file.writeTXTFile('msg' + i + '.txt', str); application.output('Message ' + i + ' retrieved.'); } } else { application.output("Failed to retrieve messages."); } {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=6526641B-294A-4BD1-9596-E917EE9015F8}{tr:id=name}{td}h6.getReceivedDate{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Date]{span}{span:id=iets|style=float: left; font-weight: bold;}getReceivedDate{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:6526641B-294A-4BD1-9596-E917EE9015F8_des|text=|trigger=button}{sub-section}{sub-section:6526641B-294A-4BD1-9596-E917EE9015F8_des|trigger=none|class=sIndent}Returns a Date instace corresponding to the moment when the message was received.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:6526641B-294A-4BD1-9596-E917EE9015F8_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:6526641B-294A-4BD1-9596-E917EE9015F8_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:6526641B-294A-4BD1-9596-E917EE9015F8_ret|text=|trigger=button}{sub-section}{sub-section:6526641B-294A-4BD1-9596-E917EE9015F8_ret|trigger=none|class=sIndent}[Date]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:6526641B-294A-4BD1-9596-E917EE9015F8_see|text=|trigger=button}{sub-section}{sub-section:6526641B-294A-4BD1-9596-E917EE9015F8_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:6526641B-294A-4BD1-9596-E917EE9015F8_see|text=|trigger=button}{sub-section}{sub-section:6526641B-294A-4BD1-9596-E917EE9015F8_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:6526641B-294A-4BD1-9596-E917EE9015F8_sam|text=|trigger=button}{sub-section}{sub-section:6526641B-294A-4BD1-9596-E917EE9015F8_sam|class=sIndent|trigger=none}{code:language=javascript} var msgs = plugins.mail.receiveMail(username, password, true, 0, null, properties); if (msgs != null) { for (var i=0; i < msgs.length; i++) { var msg = msgs[i]; var str = ''; str += 'From: ' + msg.getFromAddresses() + '\n'; str += 'To: ' + msg.getRecipientAddresses() + '\n'; str += 'CC: ' + msg.getCCAddresses() + '\n'; str += 'Reply to: ' + msg.getReplyAddresses() + '\n'; str += 'Received on: ' + msg.getReceivedDate() + '\n'; str += 'Sent on: ' + msg.getSentDate() + '\n\n'; str += 'Subject: ' + msg.getSubject() + '\n\n'; str += 'Plain message: ' + msg.getPlainMsg() + '\n\n'; str += 'HTML message: ' + msg.getHtmlMsg() + '\n\n'; str += 'Headers: ' + msg.getHeaders() + '\n\n'; var attachments = msg.getAttachments(); if (attachments != null) { str += 'Number of attachments: ' + attachments.length + '\n\n'; for (var j=0; j < attachments.length; j++) { var attachment = attachments[j]; str += 'Attachment ' + j + '\n'; str += ' Name: ' + attachment.getName() + '\n'; str += ' Size: ' + attachment.getData().length + '\n\n'; } } plugins.file.writeTXTFile('msg' + i + '.txt', str); application.output('Message ' + i + ' retrieved.'); } } else { application.output("Failed to retrieve messages."); } {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=CCDE9C02-7C68-45EE-9781-82953409FAD6}{tr:id=name}{td}h6.getRecipientAddresses{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getRecipientAddresses{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:CCDE9C02-7C68-45EE-9781-82953409FAD6_des|text=|trigger=button}{sub-section}{sub-section:CCDE9C02-7C68-45EE-9781-82953409FAD6_des|trigger=none|class=sIndent}Returns a String with all addresses in the To field of this message.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:CCDE9C02-7C68-45EE-9781-82953409FAD6_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:CCDE9C02-7C68-45EE-9781-82953409FAD6_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:CCDE9C02-7C68-45EE-9781-82953409FAD6_ret|text=|trigger=button}{sub-section}{sub-section:CCDE9C02-7C68-45EE-9781-82953409FAD6_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:CCDE9C02-7C68-45EE-9781-82953409FAD6_see|text=|trigger=button}{sub-section}{sub-section:CCDE9C02-7C68-45EE-9781-82953409FAD6_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:CCDE9C02-7C68-45EE-9781-82953409FAD6_see|text=|trigger=button}{sub-section}{sub-section:CCDE9C02-7C68-45EE-9781-82953409FAD6_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:CCDE9C02-7C68-45EE-9781-82953409FAD6_sam|text=|trigger=button}{sub-section}{sub-section:CCDE9C02-7C68-45EE-9781-82953409FAD6_sam|class=sIndent|trigger=none}{code:language=javascript} var msgs = plugins.mail.receiveMail(username, password, true, 0, null, properties); if (msgs != null) { for (var i=0; i < msgs.length; i++) { var msg = msgs[i]; var str = ''; str += 'From: ' + msg.getFromAddresses() + '\n'; str += 'To: ' + msg.getRecipientAddresses() + '\n'; str += 'CC: ' + msg.getCCAddresses() + '\n'; str += 'Reply to: ' + msg.getReplyAddresses() + '\n'; str += 'Received on: ' + msg.getReceivedDate() + '\n'; str += 'Sent on: ' + msg.getSentDate() + '\n\n'; str += 'Subject: ' + msg.getSubject() + '\n\n'; str += 'Plain message: ' + msg.getPlainMsg() + '\n\n'; str += 'HTML message: ' + msg.getHtmlMsg() + '\n\n'; str += 'Headers: ' + msg.getHeaders() + '\n\n'; var attachments = msg.getAttachments(); if (attachments != null) { str += 'Number of attachments: ' + attachments.length + '\n\n'; for (var j=0; j < attachments.length; j++) { var attachment = attachments[j]; str += 'Attachment ' + j + '\n'; str += ' Name: ' + attachment.getName() + '\n'; str += ' Size: ' + attachment.getData().length + '\n\n'; } } plugins.file.writeTXTFile('msg' + i + '.txt', str); application.output('Message ' + i + ' retrieved.'); } } else { application.output("Failed to retrieve messages."); } {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=460FCC54-C16E-42D4-A8E6-E4F57CE7D754}{tr:id=name}{td}h6.getReplyAddresses{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getReplyAddresses{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:460FCC54-C16E-42D4-A8E6-E4F57CE7D754_des|text=|trigger=button}{sub-section}{sub-section:460FCC54-C16E-42D4-A8E6-E4F57CE7D754_des|trigger=none|class=sIndent}Returns a String with all addresses in the Reply-To field of this message.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:460FCC54-C16E-42D4-A8E6-E4F57CE7D754_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:460FCC54-C16E-42D4-A8E6-E4F57CE7D754_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:460FCC54-C16E-42D4-A8E6-E4F57CE7D754_ret|text=|trigger=button}{sub-section}{sub-section:460FCC54-C16E-42D4-A8E6-E4F57CE7D754_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:460FCC54-C16E-42D4-A8E6-E4F57CE7D754_see|text=|trigger=button}{sub-section}{sub-section:460FCC54-C16E-42D4-A8E6-E4F57CE7D754_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:460FCC54-C16E-42D4-A8E6-E4F57CE7D754_see|text=|trigger=button}{sub-section}{sub-section:460FCC54-C16E-42D4-A8E6-E4F57CE7D754_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:460FCC54-C16E-42D4-A8E6-E4F57CE7D754_sam|text=|trigger=button}{sub-section}{sub-section:460FCC54-C16E-42D4-A8E6-E4F57CE7D754_sam|class=sIndent|trigger=none}{code:language=javascript} var msgs = plugins.mail.receiveMail(username, password, true, 0, null, properties); if (msgs != null) { for (var i=0; i < msgs.length; i++) { var msg = msgs[i]; var str = ''; str += 'From: ' + msg.getFromAddresses() + '\n'; str += 'To: ' + msg.getRecipientAddresses() + '\n'; str += 'CC: ' + msg.getCCAddresses() + '\n'; str += 'Reply to: ' + msg.getReplyAddresses() + '\n'; str += 'Received on: ' + msg.getReceivedDate() + '\n'; str += 'Sent on: ' + msg.getSentDate() + '\n\n'; str += 'Subject: ' + msg.getSubject() + '\n\n'; str += 'Plain message: ' + msg.getPlainMsg() + '\n\n'; str += 'HTML message: ' + msg.getHtmlMsg() + '\n\n'; str += 'Headers: ' + msg.getHeaders() + '\n\n'; var attachments = msg.getAttachments(); if (attachments != null) { str += 'Number of attachments: ' + attachments.length + '\n\n'; for (var j=0; j < attachments.length; j++) { var attachment = attachments[j]; str += 'Attachment ' + j + '\n'; str += ' Name: ' + attachment.getName() + '\n'; str += ' Size: ' + attachment.getData().length + '\n\n'; } } plugins.file.writeTXTFile('msg' + i + '.txt', str); application.output('Message ' + i + ' retrieved.'); } } else { application.output("Failed to retrieve messages."); } {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=30CCE1BE-BF6D-4C95-8EA8-46F1D108C93A}{tr:id=name}{td}h6.getSentDate{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Date]{span}{span:id=iets|style=float: left; font-weight: bold;}getSentDate{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:30CCE1BE-BF6D-4C95-8EA8-46F1D108C93A_des|text=|trigger=button}{sub-section}{sub-section:30CCE1BE-BF6D-4C95-8EA8-46F1D108C93A_des|trigger=none|class=sIndent}Returns a Date instance corresponding to the moment when this message was sent.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:30CCE1BE-BF6D-4C95-8EA8-46F1D108C93A_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:30CCE1BE-BF6D-4C95-8EA8-46F1D108C93A_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:30CCE1BE-BF6D-4C95-8EA8-46F1D108C93A_ret|text=|trigger=button}{sub-section}{sub-section:30CCE1BE-BF6D-4C95-8EA8-46F1D108C93A_ret|trigger=none|class=sIndent}[Date]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:30CCE1BE-BF6D-4C95-8EA8-46F1D108C93A_see|text=|trigger=button}{sub-section}{sub-section:30CCE1BE-BF6D-4C95-8EA8-46F1D108C93A_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:30CCE1BE-BF6D-4C95-8EA8-46F1D108C93A_see|text=|trigger=button}{sub-section}{sub-section:30CCE1BE-BF6D-4C95-8EA8-46F1D108C93A_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:30CCE1BE-BF6D-4C95-8EA8-46F1D108C93A_sam|text=|trigger=button}{sub-section}{sub-section:30CCE1BE-BF6D-4C95-8EA8-46F1D108C93A_sam|class=sIndent|trigger=none}{code:language=javascript} var msgs = plugins.mail.receiveMail(username, password, true, 0, null, properties); if (msgs != null) { for (var i=0; i < msgs.length; i++) { var msg = msgs[i]; var str = ''; str += 'From: ' + msg.getFromAddresses() + '\n'; str += 'To: ' + msg.getRecipientAddresses() + '\n'; str += 'CC: ' + msg.getCCAddresses() + '\n'; str += 'Reply to: ' + msg.getReplyAddresses() + '\n'; str += 'Received on: ' + msg.getReceivedDate() + '\n'; str += 'Sent on: ' + msg.getSentDate() + '\n\n'; str += 'Subject: ' + msg.getSubject() + '\n\n'; str += 'Plain message: ' + msg.getPlainMsg() + '\n\n'; str += 'HTML message: ' + msg.getHtmlMsg() + '\n\n'; str += 'Headers: ' + msg.getHeaders() + '\n\n'; var attachments = msg.getAttachments(); if (attachments != null) { str += 'Number of attachments: ' + attachments.length + '\n\n'; for (var j=0; j < attachments.length; j++) { var attachment = attachments[j]; str += 'Attachment ' + j + '\n'; str += ' Name: ' + attachment.getName() + '\n'; str += ' Size: ' + attachment.getData().length + '\n\n'; } } plugins.file.writeTXTFile('msg' + i + '.txt', str); application.output('Message ' + i + ' retrieved.'); } } else { application.output("Failed to retrieve messages."); } {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=7E7792C3-5E15-4F3D-B6DB-05A0690652C4}{tr:id=name}{td}h6.getSubject{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getSubject{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:7E7792C3-5E15-4F3D-B6DB-05A0690652C4_des|text=|trigger=button}{sub-section}{sub-section:7E7792C3-5E15-4F3D-B6DB-05A0690652C4_des|trigger=none|class=sIndent}Returns a String with the subject of this message.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:7E7792C3-5E15-4F3D-B6DB-05A0690652C4_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:7E7792C3-5E15-4F3D-B6DB-05A0690652C4_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:7E7792C3-5E15-4F3D-B6DB-05A0690652C4_ret|text=|trigger=button}{sub-section}{sub-section:7E7792C3-5E15-4F3D-B6DB-05A0690652C4_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:7E7792C3-5E15-4F3D-B6DB-05A0690652C4_see|text=|trigger=button}{sub-section}{sub-section:7E7792C3-5E15-4F3D-B6DB-05A0690652C4_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:7E7792C3-5E15-4F3D-B6DB-05A0690652C4_see|text=|trigger=button}{sub-section}{sub-section:7E7792C3-5E15-4F3D-B6DB-05A0690652C4_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:7E7792C3-5E15-4F3D-B6DB-05A0690652C4_sam|text=|trigger=button}{sub-section}{sub-section:7E7792C3-5E15-4F3D-B6DB-05A0690652C4_sam|class=sIndent|trigger=none}{code:language=javascript} var msgs = plugins.mail.receiveMail(username, password, true, 0, null, properties); if (msgs != null) { for (var i=0; i < msgs.length; i++) { var msg = msgs[i]; var str = ''; str += 'From: ' + msg.getFromAddresses() + '\n'; str += 'To: ' + msg.getRecipientAddresses() + '\n'; str += 'CC: ' + msg.getCCAddresses() + '\n'; str += 'Reply to: ' + msg.getReplyAddresses() + '\n'; str += 'Received on: ' + msg.getReceivedDate() + '\n'; str += 'Sent on: ' + msg.getSentDate() + '\n\n'; str += 'Subject: ' + msg.getSubject() + '\n\n'; str += 'Plain message: ' + msg.getPlainMsg() + '\n\n'; str += 'HTML message: ' + msg.getHtmlMsg() + '\n\n'; str += 'Headers: ' + msg.getHeaders() + '\n\n'; var attachments = msg.getAttachments(); if (attachments != null) { str += 'Number of attachments: ' + attachments.length + '\n\n'; for (var j=0; j < attachments.length; j++) { var attachment = attachments[j]; str += 'Attachment ' + j + '\n'; str += ' Name: ' + attachment.getName() + '\n'; str += ' Size: ' + attachment.getData().length + '\n\n'; } } plugins.file.writeTXTFile('msg' + i + '.txt', str); application.output('Message ' + i + ' retrieved.'); } } else { application.output("Failed to retrieve messages."); } {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}
Wiki Markup
Cache
indextrue
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClient

servoy sSummary12%30%58%height: 30px;3Methods SummaryReturns an array of Attachment instances corresponding to the attachments of this message.Returns a String with all addresses present in the CC field of this message.Returns a String with all addresses present in the From field of this message.Returns a String with all headers of this message.Returns a String with the HTML content of this message.Returns a String with the plain content of this message.Returns a String with all addresses in the To field of this message.Returns a String with all addresses in the Reply-To field of this message.Returns a Date instance corresponding to the moment when this message was sent.Returns a String with the subject of this message.

functionservoy sDetail2100%height:30px2Methods DetailsgetAttachmentsname

getAttachments()

dessIndent
Returns an array of Attachment instances corresponding to the attachments of this message.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRowgetCCAddressesname

getCCAddresses()

dessIndent
Returns a String with all addresses present in the CC field of this message.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getFromAddressesname

getFromAddresses()

dessIndent
Returns a String with all addresses present in the From field of this message.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getHeadersname

getHeaders()

dessIndent
Returns a String with all headers of this message.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getHtmlMsgname

getHtmlMsg()

dessIndent
Returns a String with the HTML content of this message.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getPlainMsgname

getPlainMsg()

dessIndent
Returns a String with the plain content of this message.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getRecipientAddressesname

getRecipientAddresses()

dessIndent
Returns a String with all addresses in the To field of this message.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getReplyAddressesname

getReplyAddresses()

dessIndent
Returns a String with all addresses in the Reply-To field of this message.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getSentDatename

getSentDate()

dessIndent
Returns a Date instance corresponding to the moment when this message was sent.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow
getSubjectname

getSubject()

dessIndent
Returns a String with the subject of this message.
ret

Returns

sIndent
clients

Supported Clients

sIndentSmartClient,WebClient,NGClient
sam

Sample

sIdentjavascript
lastDetailRow