>
>Do you mean when the CFX tag in this code sends the mail, there is no 
>X-info: CFX_iMSMail version 1.5.2" header?  How's that?  I don't see 
>that  you did anything differently than me when using the tag...

what this code does is separate the body in var 1 and attachments in var 2 
(plus uploading into a temp folder) so when sending you will mail you will set

    <cfx_iMSMail
       smtpto="#recipientlist#"
       smtpfrom="#HEADER_FROM#"
       header_Subject="#HEADER_SUBJECT#"
       header_To="#header_To#"
       header_From="#header_From#"
       body="#VAR1#"
           ATTACHMENTS="#VAR2#"
           DELETEMAILFILE="yes"
           >

as you can see I am not using EMAILFILE="#form.EmailFile# because this will 
add the xheaders.

the problem I have and the only reason I havent use this example (that 
almost works) is that I havent find a way to loop the list of attachments 
with the full pad to send more than the first file



>As for the forwarding code....  Is this in your data.cfm?  If so, why not 
>just:
>
><CFX_iMSMail SMTPTO="#GetUser.ForwardTo#" SMTPFROM="#form.OrgSMTPFrom#" 
>EMAILFILE="#form.EmailFile#" LOG="Yes">

attaching the file will send the x header as this same list does , the 
header will show up in some email clients (like hotmail. for ex), in others 
will place 2 formated headers with al the info..

>This one line handles all my forwards.  GetUser.ForwardTo is the 
>forwarding address out of the Accounts table (which is how I set it 
>up).  Since the attachment(s) is part of the raw email file, there's no 
>need to break it out and then re-attach it.  To make it fancier, one could 
>check the forward address first to make sure it's not local, then use the 
>iMSMail to forward only to non-local accounts.
>
>Cheers,
>-Max
>
>
>========================================================================
>      This list server is Powered by iMS
>    'The Swiss Army Knife of Mail Servers'
>    --------------------------------------
>To leave this list please complete the form at
>http://www.CoolFusion.com/iMS.htm
>
>List archives: http://www.mail-archive.com/infusion-email%40eoscape.com/
>========================================================================



********************************************
*   Ing. Guillermo Dewey Guerra 
*   Metro Cybercomercio Mexico
*   [EMAIL PROTECTED]
*   ICQ: 25876549 (GDewey)
*
*   http://www.metro.com.mx
*   http://www.ablecommerce.com.mx
*
*   Tel. (011) (52) (8) 3-90-7000
*   Fax (011) (52) (8) 3-90-7001
*   Cel. (011) (52) (044) (8) 3-09-24-16
*   Monterrey N.L. Mexico
  ********************************************


========================================================================
     This list server is Powered by iMS
   'The Swiss Army Knife of Mail Servers'
   --------------------------------------
To leave this list please complete the form at 
http://www.CoolFusion.com/iMS.htm

List archives: http://www.mail-archive.com/infusion-email%40eoscape.com/
========================================================================

Reply via email to