Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 440
  • Last Modified:

smtp server settings in coldfusion admin

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
Sri10
Asked:
Sri10
1 Solution
 
erikTsomikSystem Architect, CF programmer Commented:
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
 
Sri10Author Commented:
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
 
erikTsomikSystem Architect, CF programmer Commented:
you need to set up your CF Admin in order to send emails
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
_agx_Commented:
> 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
 
ColdFusion-PHP-Flex-Flash-ActionScript-IIS-ApacheCommented:
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
 
_agx_Commented:
That is what I already said above, as well as the link.
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now