Solved

cfmail

Posted on 2004-04-06
6
274 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 20 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Web Development Tools for MVC 3 110
Web server settings related to keepalive 1 130
Nameserver and MX Record 2 81
whm high memory usage in processes 7 121
Now that Expression Web 4.0 (http://www.microsoft.com/expression/products/Upgrade.aspx) is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

733 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