- I am running cf server 4.5.1 and IIS Server on Win 2000; I have no problems whatsoever with it;
- SMTP appears to be OK; I checked and it's up and running;
- In the cf administrator, mail server is set to 127.0.0.1, server port is 25, Spool Interval 60 sec, Connection Timeout 60 sec; when verified this is message I receive: "ColdFusion connected to your server. Verification completed without error."
- Executing script reports no error; I get "Mail Sent!" output fine, but I'm getting nothing in my email???
- what am I missing here?
- anyone?...
I'll appreciate any help here,
sylvano
Here is the script:
<cfif IsDefined("sendMail">
<cfmail to="#Form.To#"
from="#Form.From#"
subject="Testing">
Hi! #Form.Subject#
</cfmail>
<cfoutput>
Mail Sent!
</cfoutput>
</cfif>
<form action="index.cfm?sendMail=true" method="post">
To:<input type="Text" name="To" value="dsylvano@hotmail.com">
From:<input type="Text" name="From" value="yourmail@whatever.com">
Subject:<input type="Text" name="Subject" value="testing">
<input type="submit" name="submit" value="Send">
</form>
- SMTP appears to be OK; I checked and it's up and running;
- In the cf administrator, mail server is set to 127.0.0.1, server port is 25, Spool Interval 60 sec, Connection Timeout 60 sec; when verified this is message I receive: "ColdFusion connected to your server. Verification completed without error."
- Executing script reports no error; I get "Mail Sent!" output fine, but I'm getting nothing in my email???
- what am I missing here?
- anyone?...
I'll appreciate any help here,
sylvano
Here is the script:
<cfif IsDefined("sendMail">
<cfmail to="#Form.To#"
from="#Form.From#"
subject="Testing">
Hi! #Form.Subject#
</cfmail>
<cfoutput>
Mail Sent!
</cfoutput>
</cfif>
<form action="index.cfm?sendMail=true" method="post">
To:<input type="Text" name="To" value="dsylvano@hotmail.com">
From:<input type="Text" name="From" value="yourmail@whatever.com">
Subject:<input type="Text" name="Subject" value="testing">
<input type="submit" name="submit" value="Send">
</form>