PDA

View Full Version : Sending Email with Subject, Body and Attachment Filled In


Desmond
09-24-2003, 02:30 PM
<HTML> <HEAD> <TITLE>Sending Email with Subject, Body and Attachment Filled In</TITLE> </HEAD> <BODY> <h3>Sending Email with Subject, Body and Attachment Filled In</h3> <b>Document ID: IR10010</b> <hr> The information in this article applies to: <ul> <li>AutoPlay Media Studio 5.0 Standard Edition</li> <li>AutoPlay Media Studio 5.0 Professional Edition</li> </ul> <hr> <h3>SUMMARY</h3> <p>This article describes how to send an email from your application with specific fields already filled in. </p> <h3>DISCUSSION</h3> <p>To send an e-mail with various fields filled in, use the File.OpenEmail action. The following can be filled in:<br> To, Cc, Bcc, Subject, Body.</p> <ol style="LIST-STYLE-TYPE: decimal" type="1"> <li class="kadov-p"> <p>To send an email with the following properties:<br> <br> To: user@yourdomain.com<br> Cc: user2@yourdomain.com<br> Bcc: user3@yourdomain.com<br> Subject: Your subject here<br> Body: Whatever you want as your email body here<br> <br> Use the following action:<br> <code>File.OpenEmail("user@yourdomain.com?CC=user2@yourdomain.com&amp;amp;BC C=user3@yourdomain.com&amp;amp;Subject=Your subject here&amp;amp;Body=Whatever you want as your email body here", SW_SHOWNORMAL);</code> </p> </li> </ol> <p class="Note">To send an email with an attachment, you would have to Uuencode the file, and include it in the body of the email message. This is an advanced implementation of the File.OpenEmail action. Indigo Rose can not assist you with implementation details. Be aware that not all email clients will recognize all options.</p> <h3>MORE INFORMATION</h3> <p>For more information please see the following topics in the AutoPlay Media Studio 5.0 help file:</p> <ul> <li><b>Program Reference | Actions | File | File.OpenEmail</b></li> </ul> <p> KEYWORDS: Email, To, CC, BCC, Subject, Body, Automatic, Specify </p> <hr> <FONT SIZE=1> Last reviewed: September 24, 2003<br> Copyright © 2003 <A HREF="http://www.indigorose.com" target="blank">Indigo Rose Corporation</a>. All rights reserved.<br> </FONT> </BODY> </HTML>