Q&A

Q1:I host my ColdFusion site with a remote Web provider. What SMTP server should I specify in my <CFMAIL>tags?
A1: If your Web provider has done its homework, it will have already defined a mailserver in ColdFusion Administrator. If so, you don't need to supply a name in <CFMAIL>—but do be sure that your FROM address is one that will be accepted by that server.
Q2:When I access a template that uses <CFMAIL>, I get an error relating to the mail server. What's the problem?
A2: First, make sure that the machine on which ColdFusion runs has rights to send mail on the SMTP server specified. If you haven't defined a server, check the default setup in ColdFusion administrator (or have your provider check it) to be sure that one is defined.
Q3:Rather ...

Get Sams Teach Yourself ColdFusion® in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.