Solved

cold fusion ?

Posted on 2004-04-19
5
361 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

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…
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
The viewer will learn how to count occurrences of each item in an array.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

864 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

21 Experts available now in Live!

Get 1:1 Help Now