I'm posting messages to lists using the following. The problem is that
some messages (probably all HTML messages) do not contain the footer
below. How do I add a footer to an HTML body I don't know much about? Are
second <html><body></body></html> tags around an HTML version of the footer
below the way to go?
best, paul
===================================
<cfset
footer="==========================================================
This message was posted to the #getListID.listname# list
Post your message to the list at: #getListID.listeddress#
You are subscribed as: #getMembers.eddress#
Subscribe/join message to: #getListID.joineddress#
To LEAVE the list, click on the following link:
http://www.SMARTERyellowpages.com/leave/index.cfm/MID.#getMembers.MemberID#.htm
Tell friends about http://www.SMARTERyellowpages.com
==========================================================">
<cfset bbody= odsmime_text & footer>
<cfif LEN(odsmime_text) AND LEN(odsmime_html)>
<cfset bbody= odsmime_text & footer>
<cfx_imsmail smtpto="#getMembers.eddress#"
smtpfrom="#getListID.ListEddress#"
header_to="#getListID.ListEddress#"
header_from="#smtpfrom#"
header_reply_to="#ReplyEEddrreess#"
header_return_path="#getListID.ownereddress#"
header_subject="#form.header_subject#"
attachments="#attfiles2#"
body="#bbody#"
html="#odsmime_html#"
enablewordwrap="no"
>
<cfelseif LEN(odsmime_text)>
<cfset bbody= odsmime_text & footer>
<cfx_imsmail smtpto="#getMembers.eddress#"
smtpfrom="#getListID.ListEddress#"
header_to="#getListID.ListEddress#"
header_from="#smtpfrom#"
header_reply_to="#ReplyEEddrreess#"
header_return_path="#getListID.ownereddress#"
header_subject="#form.header_subject#"
attachments="#attfiles2#"
body="#bbody#"
enablewordwrap="no"
>
<cfelseif LEN(odsmime_html)>
<cfset bbody= footer>
<cfx_imsmail smtpto="#getMembers.eddress#"
smtpfrom="#getListID.ListEddress#"
header_to="#getListID.ListEddress#"
header_from="#smtpfrom#"
header_reply_to="#ReplyEEddrreess#"
header_return_path="#getListID.ownereddress#"
header_subject="#form.header_subject#"
attachments="#attfiles2#"
body="#bbody#"
html="#odsmime_html#"
enablewordwrap="no"
>
<cfelse><!--- Post a blank message (with a footer) --->
<cfx_imsmail smtpto="#getMembers.eddress#"
smtpfrom="#getListID.ListEddress#"
header_to="#getListID.ListEddress#"
header_from="#smtpfrom#"
header_reply_to="#ReplyEEddrreess#"
header_return_path="#getListID.ownereddress#"
header_subject="#form.header_subject#"
attachments="#attfiles2#"
body="#footer#"
enablewordwrap="no"
>
</cfif>
==^=======================================================
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/iMSSupport.cfm
Need an iMS Developer license? Sign up for a free license here:
http://www.coolfusion.com/iMSDevelopers.cfm
List archives: http://www.mail-archive.com/infusion-email%40eoscape.com/
Note: You are subscribed as [email protected]
==^=======================================================
- [iMS] Sending a blind copy with iMSMail Larry Juncker
- RE: [iMS] Sending a blind copy with iMSMail Justin MacCarthy
- RE: [iMS] Sending a blind copy with iMSMail Larry Juncker
- paul smith
