Solved

smtp server settings in coldfusion admin

Posted on 2009-05-06
6
381 Views
Last Modified: 2013-12-24
Hi friends,
I have tried using cfmail tag in my program.. Please see the below code.
And IN the server settings(coldfusion administrator), under mail, I gave below details.

mail server: www.yahoo.com
user name : my yahoo id (which I have used in the from field)
password : yahoo password.

but it did not work.  No mail has arrived to my yahoo mail.
Can anyone help me?
<cfmail to="abcd@yahoo.com"
	from="xyz@yahoo.com"
	subject="Welcome to cf tutorials"
	type="text">
</cfmail>

Open in new window

0
Comment
Question by:Sri10
[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
6 Comments
 
LVL 19

Expert Comment

by:erikTsomik
ID: 24322079
read this . Make sure your CF server have smtp server setup
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=email_03.html
0
 
LVL 1

Author Comment

by:Sri10
ID: 24322164
Yeah, Iread this, but I did not understand what is the smtp server, username and password if I want to send an email to comid@yahoo.com ? Please see my code and suggest me how Can I do it?
0
 
LVL 19

Expert Comment

by:erikTsomik
ID: 24322193
you need to set up your CF Admin in order to send emails
0
Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

 
LVL 52

Accepted Solution

by:
_agx_ earned 500 total points
ID: 24322214
> mail server: www.yahoo.com

That is not an smtp mail server.  It is probably more like "smtp.mail.yahoo.com" port 25 (default).  BUT ... I do not know if yahoo allows smtp mail relaying with free mail accounts.  They do allow it with paid acounts:

http://help.yahoo.com/l/us/yahoo/mail/original/mailplus/pop/pop-08.html

If you have problems, try it with a gmail account:
http://jamiekrug.com/blog/index.cfm/2009/2/13/cfmail-using-Gmail-SMTP

BTW: Mail server names can vary, but most companies use common naming conventions like:
       smtp.companyname.com   ... or ...
       smtp.mail.companyname.com

0
 
ID: 24322361
I think your question's answer is here: http://help.yahoo.com/l/us/yahoo/mail/original/mailplus/pop/pop-30.html

Mail settings and port number are detailed in the page and probably you need a Yahoo Plus Mail subscription.

Best
Sam



0
 
LVL 52

Expert Comment

by:_agx_
ID: 24322378
That is what I already said above, as well as the link.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Finding a job can be stressful - searches, resume tweaks, and networking events can be super boring. Luckily we're here to help you land your dream job!
Phishing is at the top of most security top 10 efforts you should be pursuing in 2016 and beyond. If you don't have phishing incorporated into your Security Awareness Program yet, now is the time. Phishers, and the scams they use, are only going to …
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 set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

707 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