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

Using CFMAIL without a valid From record

Status
Not open for further replies.

jeepxo

Programmer
Joined
Oct 1, 2002
Messages
228
Location
CA
I have a number of email forms on our site where the person fills in the "To" and "From" portions. In their instructions they are told to use a valid email address but invariable we still have some that simply put their name in and not an email address.

These pages are encrypted so I can't change the code to validate what is being entered.

Is there a way in Cold Fusion 5 to still have these emails sent and not just sent to my undeliverable directory?

So when Johnny Stupid puts "Johnny Stupid" in for his email address the mail is still sent to the valid "to:" address that he chose in the drop down box.

"Every day is like a precious gift, you have to make it count" James Birrell 1993-2001
 
Hmmmm... no matter what I put in the "from" attribute of a CFMAIL tag, as long as the "to" attribute contains a valid email address the mail is sent.

I don't think we set up anything specifically to permit that.

But we run on Solaris... so it uses sendmail to relay mails out to our Exchange server.

Don't know what platform you're running on, or what your mail server setup is... but it most likely is an issue with your mail server configuration and has nothing to do with ColdFusion or the CFMAIL tag. There may or may not be a way to tell your mail server to essentially ignore the FROM header, or rectify it some other way.



-Carl
 
It's on a Win2K server, with Merak Mail for the SMTP server.

I don't have the same problem with ASP pages using CDONTS to send mail that's why I thought it was a CF issue

"Every day is like a precious gift, you have to make it count" James Birrell 1993-2001
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top