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] ==^=======================================================
