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="sendpass" datasource="aacmembers" dbtype="ODBC">
select EmailAddress, password, Company
from members
where atol = '#atol_number#'
</cfquery>
<cfmail
server="smtp.aac-uk.org.uk"
from="secretariat@aac-uk.org.uk"
to="#EmailAddress#"
Subject="AAC Password Request"
port="25"
timeout="60"
query="sendpass"
>
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="sendpass">
<title>Sent Password</title><link rel="stylesheet" href="../aacfiles/aacstyle.css"><body>
<div class="title" align="center">#Company#<br>Your password has been e-mailed to your nominated address</div>
<br>
</body>
</cfoutput></html>
<cfabort>
<cflocation url="forgotten2.cfm">
The user is presented with the ack page (forgotten2.cfm) and all appears well but no email is recvd.
Thanks.
<html><cfquery name="sendpass" datasource="aacmembers" dbtype="ODBC">
select EmailAddress, password, Company
from members
where atol = '#atol_number#'
</cfquery>
<cfmail
server="smtp.aac-uk.org.uk"
from="secretariat@aac-uk.org.uk"
to="#EmailAddress#"
Subject="AAC Password Request"
port="25"
timeout="60"
query="sendpass"
>
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="sendpass">
<title>Sent Password</title><link rel="stylesheet" href="../aacfiles/aacstyle.css"><body>
<div class="title" align="center">#Company#<br>Your password has been e-mailed to your nominated address</div>
<br>
</body>
</cfoutput></html>
<cfabort>
<cflocation url="forgotten2.cfm">