Give some details on your mail setup. What kind of web server are you using? and is smtp set up on that server, or are you trying to relay through another smtp server?
Also make sure all your mail content is in the same variable.
And you might first attempt the mail function without the 4th arguement, that will send the message using the web servers defaults and will be easier to troubleshoot the servers mail config...if your message is successful, then you can mess with the headers.
Give some details on your mail setup. What kind of web server are you using? and is smtp set up on that server, or are you trying to relay through another smtp server?
Also make sure all your mail content is in the same variable.
Still not working.
Okay i realized that port 465 was not open, i did port forwarding my Netgear router...But still failed to send any e-mail.
I think it might be about SSL?..How do i implement ssl in smtp.php Here is Smtp.php code :
----
class Mail_smtp extends Mail {
var $_smtp = null;
var $host = 'smtp.bizmail.yahoo.com';
var $port = 465;
var $auth = true;
var $username = 'something@yahoo.com';
var $password = 'Mypassword';
var $localhost = 'something@yahoo.com';
var $timeout = null;
var $verp = false;
var $debug = false;
-----
Or maybe ISP could be blocking that?...I'm really lost
Don't understand why you need to set up all those variables when your using a basic php mail() function. If you were using the set of imap mail functions then I could understand why but your not.
You also need to add some header information, the mail() function takes 4 parameters and you only have three.
If you search this site, you will find examples of how to make up an email header.
Don't understand why you need to set up all those variables when your using a basic php mail() function. If you were using the set of imap mail functions then I could understand why but your not.
You also need to add some header information, the mail() function takes 4 parameters and you only have three.
If you search this site, you will find examples of how to make up an email header.
Okay now another problem showed up !
Warning: mail() [function.mail]: SMTP server response: 530 authentication required - for help go to http://help.yahoo.com/help/us/mail/pop/pop-11.html in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\viewfeedback.php on line 16
I went to yahoo help website, and everything seems to be true...
Can you please explain what it is your trying to do? Are you wanting to send email from your web space or are you trying to write an email client that collects mail?
As for the yahoo site, it is explaining what you need to do to collect emails in a client like thunderbird, outlook or one of the many other email clients that are available.
If your collecting emails, I see no need for your use of mail() function. so can you please clarify and post the actual code your using and please rememebr the forum tags for it, makes it easier for people to see your code.
Can you please explain what it is your trying to do? Are you wanting to send email from your web space or are you trying to write an email client that collects mail?
As for the yahoo site, it is explaining what you need to do to collect emails in a client like thunderbird, outlook or one of the many other email clients that are available.
If your collecting emails, I see no need for your use of mail() function. so can you please clarify and post the actual code your using and please rememebr the forum tags for it, makes it easier for people to see your code.
Thanks for reply!
Well as i mentioned before i'm a newbie :P, anyways Yes i'm willing to send e-mail from my Yahoo mail to another address.
I know how to do it in outlook , but i meant by using the code i wrote earlier.
After googling around i found this Exact problem that showed to me ( But couldnt find an answer :
Warning: mail(): SMTP server response: 530 authentication required - for
help go to http://help.yahoo.com/help/us/mail/pop/pop-11.html in c:\program
files\apache group\apache\htdocs\viewfeedback.php on line 15
I receive the error above when I attempt to send mail via a PHP script.
How can i solve this situation?
--
Thats what i always Get, do i have to install Auth pear?...How do i need to enable SSL?
Bookmarks