PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Tue Jul 23, 2019 8:13 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon May 14, 2012 5:20 pm 
Offline
Forum Newbie

Joined: Mon May 14, 2012 5:16 pm
Posts: 6
When I am sending an email from my yahoo, gmail or hotmail account, it is sent.

Now I have written a PHP (I am learning php), which sends an email from my yahoo account. When I run this script, instead of sending email I am getting an error.

Why am I getting such an error. What is the difference between sending email through script and from yahoo account ?

What I mean is, when I send an email from yahoo account, I am sending an email using browser only. At this time mail server is not required. But hen I send an email from mail program mail server is required. Like browser, can not mail program send mails ? A browser can connect with yahoo server and mail program can not ? Why ? what does browser have that can connect with yahoo server ? browser is using HTTP to connect with server. Can not mail program use HTTP ? Is it only browser which can use HTTP ? Does browser use SMTP or not ? Does mail program automatically use SMTP ?

Please provide answer in non technical terms and in some details please.

Thanks


Top
 Profile  
 
PostPosted: Mon May 14, 2012 6:08 pm 
Offline
Forum Regular
User avatar

Joined: Tue Sep 28, 2010 11:41 am
Posts: 984
Location: Columbus, Ohio
Well, for a better answer, what error are you getting? (ex, is it simply a syntax error in php, configuration, or authentication).

Can you post the code you are using, make sure you wrap it with [ syntax = php ] [ /syntax ] (no spaces inside the brackets) and replace your actual login credentials with ****'s

-Greg


Top
 Profile  
 
PostPosted: Mon May 14, 2012 10:34 pm 
Offline
Site Administrator
User avatar

Joined: Wed Aug 25, 2004 7:54 pm
Posts: 13592
Location: New York, NY, US

_________________
(#10850)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group