Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using cfmail, body indents .... Why? 1

Status
Not open for further replies.

josel

Programmer
Joined
Oct 16, 2001
Messages
716
Location
US
Howdy y'all!

I finally have my own email server (http:/ and I'm modifying some of CFML templates to send email upon processing submitted forms.

It works very nicely, except, the text on body of sent message is indented as it appears on my code.

You see, I indent my code. My <cfmail ...> command is about 4 tabs in and the body is about 5 tabs. The message I receive shows these tabs as part of the content.

How can I prevent this (other than left justifying my code)?

Thank you all in advance;

josel

PS: Here is the snippet of code

<cfmail
to=&quot;#TheUser.UserEmail#&quot;
from=&quot;#application.MyEmail#&quot;
subject=&quot;Your submitted help desk!&quot;
server=&quot;192.168.0.50&quot;>

Thank you for visiting !!!

Your help desk entry will be addressed promptly.

<cfif &quot;#Notifyme#&quot; is &quot;Y&quot;>
You have chosen to be notified of any changes or
activities in regard to your help desk entry.
Additional messages will be sent as our technicians
address your issues and/or if additional
information is required.

We look forward to providing you prompt service
and solutions to all your computer needs. Let
us know if we can be of further assistance!

Thank you!

<cfelse>
You have chosen to not be notified of any changes
or activities in regard to your help desk entry.
Your having opted to not receive these notices,
means that you will not be made aware of progress
made nor any other inquiries which may help resolve
your needs sooner.
Please concider allowing using this feature thus
improving the true value of our help desk system!

Thank you!

</cfif>
</cfmail>
KNOWLEDGE: Something you can give away enlessly and gain more of it in the process! - Jose Lerebours
 
mm... could format it correctly and then store it in a file to CFINCLUDE, then no editors will change the format on you...

Also, not to nitpick but for professionalism, you misspelled &quot;concider&quot; (consider) and you should probably change allowing using to using...
 
Hello webmigit!

Thank you for taking the time to review my post and for your suggestions.

I will try using <cfinclude ...> and see how that goes!

As per the spelling, thank you very much! I do not have a problem with your mentioning it and suggesting proper grammer. Your suggestions are appreciated and changes have been made ... Please, if I ever post similar improper grammer/spelling context, do mention it!

Sincerely;


Jose Lerebours

KNOWLEDGE: Something you can give away enlessly and gain more of it in the process! - Jose Lerebours
 
webmigit,

It worked!


Thanks;


josel KNOWLEDGE: Something you can give away enlessly and gain more of it in the process! - Jose Lerebours
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top