[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

cold fusion ?

Posted on 2004-04-19
5
Medium Priority
?
417 Views
Last Modified: 2010-04-06
setting smtp server for cfmail tag in  cold fusion ?
0
Comment
Question by:najiarehman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 

Accepted Solution

by:
DJArigan earned 80 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

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…
Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
The viewer will learn how to count occurrences of each item in an array.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

649 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