Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

unable to send CFMAIL

New Here ,
May 29, 2008 May 29, 2008
Hi,
I am writing CFM script which displays requests entered by users and allows users to cancel their requests.
If user want to cancel the request, it takes confirmation and if user confirms it, application should send email notification about cancellation to concern persons and then go back to the previous page to display requests.

For sending mail notification i am using <CFMAIL> and then to display list of requests(req.cfm) i am using <CFLOCATION>

the problem i am getting is, if i don't use <CFLOCATION>, i am getting mails, if i use <CFLOCATION>, i could not get mails.

-----------------------------------------------
This is my code:

<CFMAIL to="#emailids#" from="sunilv@yahoo.co.in"
subject="Canceled request for #service_name#">Hello,

The following request for "#service_name#" has been canceled by #session.QLID#.

Contact: #contact#
Subject: #abstract#
Description: #detail#

This is an automatically generated e-mail. Please do not reply to this message.
</CFMAIL>


<!---Send user back to request--->
<CFLOCATION url="request/index.cfm" addtoken="no">

--------------------------------------------
Could any on help me to solve this problem.

-sunil
281
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 29, 2008 May 29, 2008
LATEST
Sometimes the cflocation will cause errors.

Try a META refresh tag instead of the cflocation
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources