Solved

cold fusion ?

Posted on 2004-04-19
5
344 Views
Last Modified: 2010-04-06
setting smtp server for cfmail tag in  cold fusion ?
0
Comment
Question by:najiarehman
5 Comments
 

Accepted Solution

by:
DJArigan earned 20 total points
Comment Utility
In you <CFMAIL> tag include the following attributes:

 SERVER="127.0.0.1" PORT="25"

changing the 127.0.0.1 to the proper mail server (you shouldn't need to change the port), ex:

<CFMAIL TO="#form.to#" FROM="#form.from#" SUBJECT="Hello World" SERVER="127.0.0.1" PORT="25">
Hello World
</CFMAIL>
0
 
LVL 1

Expert Comment

by:dcrysler
Comment Utility
you can also set the value in the cold fusion adminsistrator, if you're only going to use a single mail server this is a better option.  This way if you ever need to change the ip address of your mail server you won't have to dig though all your cf pages to make the update.
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Hi. There are several upload tutorials using jquery and coldfusion. I found a very interesting one here Upload Your Files using Jquery & ColdFusion and Preview them (http://www.randhawaworld.com/) . I did keep the main js functions but made sever…
Sometimes databases have MILLIONS of records and we need a way to quickly query that table to return the results me need. Sure you could use CFQUERY but it takes too long when there are millions of records. That is why SOLR was invented. Please …
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now