Solved

cfmail

Posted on 2004-04-06
6
272 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
  • 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

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…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to create a Printer Friendly PDF on a WordPress Page. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome Screenshot” Google Chrome Extension, and SmallPDF.com Log…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…

770 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