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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFMAIL not working

Status
Not open for further replies.

igh

Technical User
Apr 30, 2001
4
GB
Hi - the following used to generate an email but for some reason now does not. Has anyone any bright ideas? The database etc has not changed.
The user is presented with the ack page (forgotten2.cfm) and all appears well but no email is recvd.
Thanks.
<html><cfquery name=&quot;sendpass&quot; datasource=&quot;aacmembers&quot; dbtype=&quot;ODBC&quot;>
select EmailAddress, password, Company
from members
where atol = '#atol_number#'
</cfquery>
<cfmail
server=&quot;smtp.aac-uk.org.uk&quot;
from=&quot;secretariat@aac-uk.org.uk&quot;
to=&quot;#EmailAddress#&quot;
Subject=&quot;AAC Password Request&quot;

port=&quot;25&quot;
timeout=&quot;60&quot;
query=&quot;sendpass&quot;
>
Hello #Company#. You have requested us to remind you of your password. ATOL
Number = #atol_number#; Password = #password#. If you did not request this reminder,
please contact the AAC Secretariat on 020 8288 1430 Regards AAC Secretariat
</cfmail>
<head></head><cfoutput query=&quot;sendpass&quot;>
<title>Sent Password</title><link rel=&quot;stylesheet&quot; href=&quot;../aacfiles/aacstyle.css&quot;><body>
<div class=&quot;title&quot; align=&quot;center&quot;>#Company#<br>Your password has been e-mailed to your nominated address</div>
<br>
</body>

</cfoutput></html>
<cfabort>

<cflocation url=&quot;forgotten2.cfm&quot;>


 
Check the mail log in the ColdFusion Administrator to see if any mail is being sent. Most times the problem is with your mailserver or mailserver settings within ColdFusion.

Ryan ;-]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top