You would need to do this type of processing from within the DATA template as 
this template is the one that is called after the email is received.  You can 
use the cfx_odsmime tag to get a list of attachments and decode the 
attachments.  If the recipient wants attachments then just pass the original 
email on to them.  If they don't then you can use the cfx_odsmime tag to get 
the html and plain text versions of the mail.  And, yes, you would use the 
cfx_imsmail tag to send the mail to the recipients.

HTH,

Howie

--- On Saturday, April 30, 2005 3:38 PM, Stephen Garrett scribed: ---
>
> All,
> 
> I have a research request into me and am trying to see if I am on the
> right 
> track before I get started. (I am using FusionMail 2.5)
> 
> A person is sending out many attachments to a set of recipients, and
> is cc'ing/bcc'ing many "others". The "others" want to see the body of
> the 
> email, but not the attachments.
> 
> I can see using cfx_odsmime to get the text and html portions of an
> email, 
> but I am not sure the steps I would have to take to assemble what
> would in 
> effect be a new email from those portions. I can see once the
> sections are 
> assembled that I could use CFX_IMSMAIL to send to a selected list of
> users. 
> I also need to at least indicated in the body what attachments were
> "autodeleted".
> 
> My first thoughts are that something like this needs to go into the
> Data 
> template.
> 
> I will need to add some DB fields/columns to enable the checks (or
> hardwire 
> for testing).
> 
> Then for the selected "from" user,
> 
> Check to see if each recipient is on the "no attachment" list
> 
> If the recipient is not, then process as normal
> 
> ?? If Yes, then deny sending to that particular user for this exact
> email, 
> then queue up a new email using IMSMAIL?? I will have to decode the
> email 
> and use the List function from the query to see the attachment names.
> I 
> would then append these names to the body (text) of the sending
> email.?? 
> 
> 1) Am I on the right track?
> 
> 2) Is there a better way to send just the body of a message to those
> selected recipients?
> 
> Thanks for you thoughts.
> 
> Steve
>
==^=======================================================
This list server is Powered by iMS  "The Swiss Army Knife of Mail Servers"
--------------------------------------------------------------------------------------
This list is provided as a free service.  Although we will try to address issues
in a timely manner, support via this list is not guaranteed.  If you require 
expedited
support then a support contract is required.  Support may be purchased from
http://www.coolfusion.com/commerce.  Details regarding support options may be 
reviewed
at: http://www.coolfusion.com/SupportOptions.cfm
--------------------------------------------------------------------------------------
To leave this list please complete the form at 
http://www.coolfusion.com/Support/
Need an iMS Developer license?  Sign up for a free license here:
http://www.coolfusion.com/Developers/
List archives: http://www.coolfusion.com/cfbb/
Note: You are subscribed as archive_jab_org / [email protected]
==^=======================================================


Reply via email to