<HTML>
	<HEAD>
    	<TITLE>Adobe ExtendScript Toolkit</TITLE>
		<LINK HREF="doxygen.css" REL="stylesheet" TYPE="text/css">
		<LINK HREF="adobe.css" REL="stylesheet" TYPE="text/css">
        <LINK HREF="tabs.css" REL="stylesheet" TYPE="text/css">
 	</HEAD>
	<BODY> 
    <div class="header"><a href="http://www.adobe.com"><img src="adobelogo.jpg" alt="http://www.adobe.com"></a>&nbsp;<b>ExtendScript ToolKit</b></div>
<!-- Generated by Doxygen 1.5.5 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li class="current"><a href="classes.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>EmailWithAttachment Class Reference</h1><!-- doxytag: class="EmailWithAttachment" -->
<p>
<a href="classEmailWithAttachment-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEmailWithAttachment.html#422f73112bd7d082726c639c41e1fa6d">EmailWithAttachment</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">Boolean&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEmailWithAttachment.html#b0e3755e7dd29e3d936027d7d5dc56ac">send</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sends the email and attachments by connecting to the server and authorizing via POP.  <a href="#b0e3755e7dd29e3d936027d7d5dc56ac"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Boolean&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEmailWithAttachment.html#f7676f29c327051ae2f8b2658e30cbe5">canRun</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Determines whether snippet can be run in the current context.  <a href="#f7676f29c327051ae2f8b2658e30cbe5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Boolean&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEmailWithAttachment.html#eb88053f16e6134dc1da44349d09d93a">run</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Functional part of this snippet.  <a href="#eb88053f16e6134dc1da44349d09d93a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEmailWithAttachment.html#b8a0d056cd74bc0b4178e453ae87269d">close</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Closes the socket that was used to transmit data.  <a href="#b8a0d056cd74bc0b4178e453ae87269d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Boolean&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEmailWithAttachment.html#ddd266f65b74fc0e34ebe75d35a687b7">connect</a> (void host, void port)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Attempts to open a socket and connect to a host and port.  <a href="#ddd266f65b74fc0e34ebe75d35a687b7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEmailWithAttachment.html#e2112d83ba01f7b8176442794e9e8bdb">authorise</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Authorizes a username against POP3.  <a href="#e2112d83ba01f7b8176442794e9e8bdb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">String&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEmailWithAttachment.html#d36f933ecdede45d09d459df420bdd97">encodeAttachment</a> (void binaryString)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Accepts a string representing a binary file and encodes it as base64, to allow attachments to be sent via email.  <a href="#d36f933ecdede45d09d459df420bdd97"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Boolean&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEmailWithAttachment.html#607cca4ee69931bc446b4cc4dc209b53">doCommand</a> (void cmd, void type)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Carries out either an SMTP or a POP command.  <a href="#607cca4ee69931bc446b4cc4dc209b53"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEmailWithAttachment.html#c31fa3ed49216b9c96fdc3f16a99b9b1">addAttachment</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Adds attachments to the email being sent.  <a href="#c31fa3ed49216b9c96fdc3f16a99b9b1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEmailWithAttachment.html#abfbfc50be676542b50ab4f6c0c7abae">buildMessage</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a simple message for the body of the email showing which files are attached.  <a href="#abfbfc50be676542b50ab4f6c0c7abae"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">String&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEmailWithAttachment.html#a0def16f2f621637ff2ddd1112a76022">requiredContext</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The context in which this sample can run.  <a href="#a0def16f2f621637ff2ddd1112a76022"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Socket&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEmailWithAttachment.html#9b463152bcf69f6e1972921ca30c5033">password</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The password for the username - NOTE: You must customize this with your own password value.  <a href="#9b463152bcf69f6e1972921ca30c5033"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">String&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEmailWithAttachment.html#b0022a0ecfbff7c33ab95c018a530dde">boundary</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The boundary for attachments.  <a href="#b0022a0ecfbff7c33ab95c018a530dde"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">String&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEmailWithAttachment.html#7c09e6f50f887c8888de80ea94504391">recipient</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The address the email will be sent to, the receiver of the email - NOTE: You must customize this with your own recipient address.  <a href="#7c09e6f50f887c8888de80ea94504391"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">String&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEmailWithAttachment.html#d411c2348a1dd6c80dce48d86d456380">subject</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The subject of the email.  <a href="#d411c2348a1dd6c80dce48d86d456380"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEmailWithAttachment.html#9eccbcaf01a9aded97c4514466ddcb67">POP</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The port number for the POP server, for example port 110 - NOTE: You may need to customize this with your own port number.  <a href="#9eccbcaf01a9aded97c4514466ddcb67"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">String&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEmailWithAttachment.html#a92b2ae470201f4680cf24a96a9bd5d1">username</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The username, not necessarily the email address, to authorize with, for example <a href="mailto:testemail@adomainname.com">testemail@adomainname.com</a> - NOTE: You must customize this with your own username value.  <a href="#a92b2ae470201f4680cf24a96a9bd5d1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Socket&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEmailWithAttachment.html#6e1953f117e4ed68f9fcd68394678650">socket</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The socket object which this object uses to write to the wire.  <a href="#6e1953f117e4ed68f9fcd68394678650"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">String&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEmailWithAttachment.html#8071d0c1fe6eca2a6ffa5998060a40d2">message</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The body text of the message.  <a href="#8071d0c1fe6eca2a6ffa5998060a40d2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">String&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEmailWithAttachment.html#71efcfb88eb5fe127430020bd52e4d35">mailServerName</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The host address for the mail server, for example mail.adomainname.com - NOTE: You must customize this with your own host address value.  <a href="#71efcfb88eb5fe127430020bd52e4d35"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">String&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEmailWithAttachment.html#fd8a2579a1592738e37c3b9327044b89">sender</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The senders email address, for example <a href="mailto:testemail@adomainname.com">testemail@adomainname.com</a><ul>
<li>NOTE: You must customize this with your own email address. </li></ul>
 <a href="#fd8a2579a1592738e37c3b9327044b89"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classEmailWithAttachment.html#457debb73b7dc37b1c9218dc76f9831c">SMTP</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The port number for the SMTP server, for example port 25 - NOTE: You may need to customize this with your own port number.  <a href="#457debb73b7dc37b1c9218dc76f9831c"></a><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="422f73112bd7d082726c639c41e1fa6d"></a><!-- doxytag: member="EmailWithAttachment::EmailWithAttachment" ref="422f73112bd7d082726c639c41e1fa6d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void EmailWithAttachment::EmailWithAttachment           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="b0e3755e7dd29e3d936027d7d5dc56ac"></a><!-- doxytag: member="EmailWithAttachment::send" ref="b0e3755e7dd29e3d936027d7d5dc56ac" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Boolean EmailWithAttachment::send           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sends the email and attachments by connecting to the server and authorizing via POP. 
<p>
Reestablishes the connection and sends the necessary commands to the SMTP server. If there are attachments to be sent, encodes them into Base64 and writes them to the socket.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the mail was sent succesfully. </dd></dl>

</div>
</div><p>
<a class="anchor" name="f7676f29c327051ae2f8b2658e30cbe5"></a><!-- doxytag: member="EmailWithAttachment::canRun" ref="f7676f29c327051ae2f8b2658e30cbe5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Boolean EmailWithAttachment::canRun           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Determines whether snippet can be run in the current context. 
<p>
The snippet fails if these preconditions are not met: <ul>
<li>
The mail configuration settings must been modified </li>
<li>
The image file 'EmailWithAttachment.jpg' must exist the resources folder of the SDK samples </li>
</ul>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if this snippet can run, false otherwise </dd></dl>

</div>
</div><p>
<a class="anchor" name="eb88053f16e6134dc1da44349d09d93a"></a><!-- doxytag: member="EmailWithAttachment::run" ref="eb88053f16e6134dc1da44349d09d93a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Boolean EmailWithAttachment::run           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Functional part of this snippet. 
<p>
Runs this sample, calling the helper functions defined below. Creates the Socket object and applies mail settings, such as hostname, password, and so on. You must customize the code so that the mail settings correspond to your mail system and user accounts; otherwise, the sample fails and no emails are sent.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the sample ran as expected, false otherwise </dd></dl>

</div>
</div><p>
<a class="anchor" name="b8a0d056cd74bc0b4178e453ae87269d"></a><!-- doxytag: member="EmailWithAttachment::close" ref="b8a0d056cd74bc0b4178e453ae87269d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void EmailWithAttachment::close           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Closes the socket that was used to transmit data. 
<p>

</div>
</div><p>
<a class="anchor" name="ddd266f65b74fc0e34ebe75d35a687b7"></a><!-- doxytag: member="EmailWithAttachment::connect" ref="ddd266f65b74fc0e34ebe75d35a687b7" args="(void host, void port)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Boolean EmailWithAttachment::connect           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"> <em>host</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"> <em>port</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Attempts to open a socket and connect to a host and port. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>host</em>&nbsp;</td><td>The host name string of the server to connect to </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>port</em>&nbsp;</td><td>The port number to connect on, an integer </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the socket opened successfully, false otherwise </dd></dl>

</div>
</div><p>
<a class="anchor" name="e2112d83ba01f7b8176442794e9e8bdb"></a><!-- doxytag: member="EmailWithAttachment::authorise" ref="e2112d83ba01f7b8176442794e9e8bdb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void EmailWithAttachment::authorise           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Authorizes a username against POP3. 
<p>

</div>
</div><p>
<a class="anchor" name="d36f933ecdede45d09d459df420bdd97"></a><!-- doxytag: member="EmailWithAttachment::encodeAttachment" ref="d36f933ecdede45d09d459df420bdd97" args="(void binaryString)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String EmailWithAttachment::encodeAttachment           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"> <em>binaryString</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Accepts a string representing a binary file and encodes it as base64, to allow attachments to be sent via email. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>binaryString</em>&nbsp;</td><td>The string to encode </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The base64-encoded string </dd></dl>

</div>
</div><p>
<a class="anchor" name="607cca4ee69931bc446b4cc4dc209b53"></a><!-- doxytag: member="EmailWithAttachment::doCommand" ref="607cca4ee69931bc446b4cc4dc209b53" args="(void cmd, void type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Boolean EmailWithAttachment::doCommand           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"> <em>cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"> <em>type</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Carries out either an SMTP or a POP command. 
<p>
Separates writing data to the socket and sending commands. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cmd</em>&nbsp;</td><td>The command to be written to the socket </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>type</em>&nbsp;</td><td>One of 'pop' or 'smtp' </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the command was executed correctly </dd></dl>

</div>
</div><p>
<a class="anchor" name="c31fa3ed49216b9c96fdc3f16a99b9b1"></a><!-- doxytag: member="EmailWithAttachment::addAttachment" ref="c31fa3ed49216b9c96fdc3f16a99b9b1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void EmailWithAttachment::addAttachment           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Adds attachments to the email being sent. 
<p>

</div>
</div><p>
<a class="anchor" name="abfbfc50be676542b50ab4f6c0c7abae"></a><!-- doxytag: member="EmailWithAttachment::buildMessage" ref="abfbfc50be676542b50ab4f6c0c7abae" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void EmailWithAttachment::buildMessage           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructs a simple message for the body of the email showing which files are attached. 
<p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="a0def16f2f621637ff2ddd1112a76022"></a><!-- doxytag: member="EmailWithAttachment::requiredContext" ref="a0def16f2f621637ff2ddd1112a76022" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String <a class="el" href="classEmailWithAttachment.html#a0def16f2f621637ff2ddd1112a76022">EmailWithAttachment::requiredContext</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The context in which this sample can run. 
<p>

</div>
</div><p>
<a class="anchor" name="9b463152bcf69f6e1972921ca30c5033"></a><!-- doxytag: member="EmailWithAttachment::password" ref="9b463152bcf69f6e1972921ca30c5033" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Socket <a class="el" href="classEmailWithAttachment.html#9b463152bcf69f6e1972921ca30c5033">EmailWithAttachment::password</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The password for the username - NOTE: You must customize this with your own password value. 
<p>

</div>
</div><p>
<a class="anchor" name="b0022a0ecfbff7c33ab95c018a530dde"></a><!-- doxytag: member="EmailWithAttachment::boundary" ref="b0022a0ecfbff7c33ab95c018a530dde" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String <a class="el" href="classEmailWithAttachment.html#b0022a0ecfbff7c33ab95c018a530dde">EmailWithAttachment::boundary</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The boundary for attachments. 
<p>

</div>
</div><p>
<a class="anchor" name="7c09e6f50f887c8888de80ea94504391"></a><!-- doxytag: member="EmailWithAttachment::recipient" ref="7c09e6f50f887c8888de80ea94504391" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String <a class="el" href="classEmailWithAttachment.html#7c09e6f50f887c8888de80ea94504391">EmailWithAttachment::recipient</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The address the email will be sent to, the receiver of the email - NOTE: You must customize this with your own recipient address. 
<p>

</div>
</div><p>
<a class="anchor" name="d411c2348a1dd6c80dce48d86d456380"></a><!-- doxytag: member="EmailWithAttachment::subject" ref="d411c2348a1dd6c80dce48d86d456380" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String <a class="el" href="classEmailWithAttachment.html#d411c2348a1dd6c80dce48d86d456380">EmailWithAttachment::subject</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The subject of the email. 
<p>

</div>
</div><p>
<a class="anchor" name="9eccbcaf01a9aded97c4514466ddcb67"></a><!-- doxytag: member="EmailWithAttachment::POP" ref="9eccbcaf01a9aded97c4514466ddcb67" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classEmailWithAttachment.html#9eccbcaf01a9aded97c4514466ddcb67">EmailWithAttachment::POP</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The port number for the POP server, for example port 110 - NOTE: You may need to customize this with your own port number. 
<p>

</div>
</div><p>
<a class="anchor" name="a92b2ae470201f4680cf24a96a9bd5d1"></a><!-- doxytag: member="EmailWithAttachment::username" ref="a92b2ae470201f4680cf24a96a9bd5d1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String <a class="el" href="classEmailWithAttachment.html#a92b2ae470201f4680cf24a96a9bd5d1">EmailWithAttachment::username</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The username, not necessarily the email address, to authorize with, for example <a href="mailto:testemail@adomainname.com">testemail@adomainname.com</a> - NOTE: You must customize this with your own username value. 
<p>

</div>
</div><p>
<a class="anchor" name="6e1953f117e4ed68f9fcd68394678650"></a><!-- doxytag: member="EmailWithAttachment::socket" ref="6e1953f117e4ed68f9fcd68394678650" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Socket <a class="el" href="classEmailWithAttachment.html#6e1953f117e4ed68f9fcd68394678650">EmailWithAttachment::socket</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The socket object which this object uses to write to the wire. 
<p>

</div>
</div><p>
<a class="anchor" name="8071d0c1fe6eca2a6ffa5998060a40d2"></a><!-- doxytag: member="EmailWithAttachment::message" ref="8071d0c1fe6eca2a6ffa5998060a40d2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String <a class="el" href="classEmailWithAttachment.html#8071d0c1fe6eca2a6ffa5998060a40d2">EmailWithAttachment::message</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The body text of the message. 
<p>

</div>
</div><p>
<a class="anchor" name="71efcfb88eb5fe127430020bd52e4d35"></a><!-- doxytag: member="EmailWithAttachment::mailServerName" ref="71efcfb88eb5fe127430020bd52e4d35" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String <a class="el" href="classEmailWithAttachment.html#71efcfb88eb5fe127430020bd52e4d35">EmailWithAttachment::mailServerName</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The host address for the mail server, for example mail.adomainname.com - NOTE: You must customize this with your own host address value. 
<p>

</div>
</div><p>
<a class="anchor" name="fd8a2579a1592738e37c3b9327044b89"></a><!-- doxytag: member="EmailWithAttachment::sender" ref="fd8a2579a1592738e37c3b9327044b89" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">String <a class="el" href="classEmailWithAttachment.html#fd8a2579a1592738e37c3b9327044b89">EmailWithAttachment::sender</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The senders email address, for example <a href="mailto:testemail@adomainname.com">testemail@adomainname.com</a><ul>
<li>NOTE: You must customize this with your own email address. </li></ul>

<p>

</div>
</div><p>
<a class="anchor" name="457debb73b7dc37b1c9218dc76f9831c"></a><!-- doxytag: member="EmailWithAttachment::SMTP" ref="457debb73b7dc37b1c9218dc76f9831c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classEmailWithAttachment.html#457debb73b7dc37b1c9218dc76f9831c">EmailWithAttachment::SMTP</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The port number for the SMTP server, for example port 25 - NOTE: You may need to customize this with your own port number. 
<p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="EmailWithAttachment_8jsx.html">EmailWithAttachment.jsx</a></ul>
</div>
<p><img src="1ptrans.gif" /><p>
<p><img src="1ptrans.gif"  /></p>
<p><img src="asn.gif" width="114" height="45" border="0" alt="Adobe Solutions Network">Copyright&#169; 2008 Adobe Systems Incorporated. All rights reserved.</p>
<p>
    	<a href="http://www.adobe.com/misc/copyright.html">Terms of Use</a>&nbsp;
        <a href="http://www.adobe.com/misc/privacy.html">Online Privacy Policy</a>&nbsp;
        <a href="http://access.adobe.com">Adobe and accessibility</a>&nbsp;
        <a href="http://www.adobe.com/aboutadobe/antipiracy/main.html">Avoid software piracy</a>&nbsp;
        <a href="http://www.adobe.com/misc/agreement.html">Permissions and Trademarks</a>
</p>
</body>
</html>
