At 20:36 27/03/2002 Attley, Simon (CMG-SF) said.... ><cfx_iMSMail >priority="0" >kickpost="yes" >smtpto="[EMAIL PROTECTED]" >header_to="[EMAIL PROTECTED]" >header_subject="test" >header_from="[EMAIL PROTECTED]" >log="yes" >body="text" > > > >In the above code what do the smtpto, header_to, and header_from attributes >do? > >I want to have one copy of what is in the body tag sent to one mail box and >another copy sent to a user who submits a form, can someone help me with >which email goes where?
Simon, I would subscribe to the iMS List as Howie is always there and offering support. On the rare occasions when he is sleeps there are others who will help. The SMPTO is a comma delimited list of email address you wish to deliver to. If you were wanting to have a BCC then they would go in there. Header_To is the address that the recipient will see so you might put "Fred Jones <[EMAIL PROTECTED]>" When Fred gets the mail he can not see any or all of the other address in the SMPTO header but all of those will see that it was sent to Fred. Header_from is : Header_FROM="""Fred Smith"" <[EMAIL PROTECTED]>" or Header_from="""#form.name#"" <#form.email#>" In your case to send the copy to your mailbox just add the address in the smpto header. Hope that helps. We use it extensively and it is great. List is at: http://www.coolfusion.com/iMSSupport.cfm Gordon ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

