?
Solved

cfmail

Posted on 2004-04-06
6
Medium Priority
?
279 Views
Last Modified: 2013-12-24
please tell me how can i use cfmail , there are many error ,
i use many queries  like
<cfmail from="khurram@khurra.com" to="najiarehman@hotmail.com" server="127.0.0.1" subject="nohtign"></cfmail>


but i found only a blank page some time i got the error about the smtp ..please put me out of this trouble i want to creat a feed back form . and can i make an email system from coldfusion?
0
Comment
Question by:i_virgo
[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
  • 2
6 Comments
 
LVL 10

Accepted Solution

by:
Mause earned 80 total points
ID: 10765179
There is nothing wrong width your cfmail code!
You get a blank page because you did'nt define a message
<cfmail from="khurram@khurra.com" to="najiarehman@hotmail.com" server="127.0.0.1" subject="nohtign">

your email message!!

</cfmail>

Also sever is the adress of a smtp server so your localhost (127.0.0.1) must also have a smtp server installed. If no server is specified, the server name specified in the ColdFusion Administrator is used.


Hope this helps
Mause
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 10766654
You should add a message as Mause suggested and then I would guess that the server you should be using will be something like mail.khurra.com since that is where your email address if from.
0
 
LVL 5

Expert Comment

by:Seth_Bienek
ID: 10766914

If your SMTP server is not up and running, or if it is not configured to relay for your local IP address (127.0.0.1), then these problems can be a little more involved to detect.

Under your ColdFusion installation directory ('c:\cfusionmx'?), there is a folder called 'MAIL', and in that folder, another called 'UNDELIVERABLE'.

Open some of the files in that folder using Notepad and see if you can glean some additional information that way.

If you need help deciphering what those messages mean, just copy and paste them on here, and we'll help you get it sorted out.

Take Care,

Seth
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 10793480
Are you still having errors with your cfmail tag?

Maybe you can post the error message so we can give you more specific help
0

Featured Post

WordPress Tutorial 2: Terminology

An important part of learning any new piece of software is understanding the terminology it uses. Thankfully WordPress uses fairly simple names for everything that make it easy to start using the software.

Question has a verified solution.

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

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
Suggested Courses

762 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