Solved

cfmail

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

When deciding to adopt any help desk solutions many factors should be explored before taking decisions. This will change from business to another but in general there are some kind of rule of thumb. Here are some quick tips: Do we need only ticket…
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
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 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…

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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now