Question
unable to send CFMAIL
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
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
