Solved

cold fusion ?

Posted on 2004-04-19
5
375 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
ID: 10871637
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
ID: 10940409
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Preface In the first article: A Better Website Login System (http://www.experts-exchange.com/A_2902.html) I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
Recently while working on a project I got a very annoying cfdocument has no body error message. I had never seen this error before. So I checked the code. The code was pretty simple; it was Just showing me the cfdocumnt tag and inside that tag a …
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:
The viewer will learn how to count occurrences of each item in an array.

830 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