Question
CFMAIL formatting question
I'm sending out a email using CFMAIL, but have noticed that
the formatting
gets all screwed up in places like Hotmail.
What is the best type of formatting options to pick? I have the options set
as shown below:
<cfmail from="info@site.com"
to="#form.Email#"
bcc="wingnutg144@site.com"
subject="Requested fencing information"
server="mail.site.com"
port="25"
charset="iso-8859-1"
type="html"
mimeattach="c:\emailDocs\#SendFileName#.zip"
mailerid="Site"
failto="info@site.com"
replyto="info@site.com">
And the the actual mail is being sent as:
Dear #user1#,<br>
<p>Thanks for requesting fencing information.</p>
<p>Your requested information has been attached to this email in the
form of a ZIP file. You will need a program such as PKZIP or WinZIP to
decompress the attachment. The programs listed above can be obtained from
<a href=" http://www.pkware.com">PKware</a>
or from <a href=" http://www.winzip.com">WinZip</a>, if not already
installed on your computer.</p>
<p>You have requested the following documents:<br>
<cfloop list="#form.Events#" index="i">
<cfset file1=findnocase("/",#i#,4)>
<cfset dl_file=right(#i#, file1+2)>
<strong>#dl_file#</strong><br>
</cfloop></p>
<p>We hope this information answers your questions, and we hope to see
you at a fencing class soon.</p>
Is there a better way? The message is getting all jammed together, no
spacing for paragraphs, etc......
Thanks!
gets all screwed up in places like Hotmail.
What is the best type of formatting options to pick? I have the options set
as shown below:
<cfmail from="info@site.com"
to="#form.Email#"
bcc="wingnutg144@site.com"
subject="Requested fencing information"
server="mail.site.com"
port="25"
charset="iso-8859-1"
type="html"
mimeattach="c:\emailDocs\#SendFileName#.zip"
mailerid="Site"
failto="info@site.com"
replyto="info@site.com">
And the the actual mail is being sent as:
Dear #user1#,<br>
<p>Thanks for requesting fencing information.</p>
<p>Your requested information has been attached to this email in the
form of a ZIP file. You will need a program such as PKZIP or WinZIP to
decompress the attachment. The programs listed above can be obtained from
<a href=" http://www.pkware.com">PKware</a>
or from <a href=" http://www.winzip.com">WinZip</a>, if not already
installed on your computer.</p>
<p>You have requested the following documents:<br>
<cfloop list="#form.Events#" index="i">
<cfset file1=findnocase("/",#i#,4)>
<cfset dl_file=right(#i#, file1+2)>
<strong>#dl_file#</strong><br>
</cfloop></p>
<p>We hope this information answers your questions, and we hope to see
you at a fencing class soon.</p>
Is there a better way? The message is getting all jammed together, no
spacing for paragraphs, etc......
Thanks!
