Please forgive me if this question has been asked before. I just started reading on PHP coding last night!
However, my husband is the PHP programmer in THIS house and he has a question. I told him that the experts here could give him an answer. So here goes:
First of all I have done everything I can think of to send mail through the php mail function and can not seem to get it to work.
I have been into the php.ini file 50 times and have changed it 50 times when it comes to the mail as follows
[mail function]
; For Win32 only.
SMTP = SMTP.comcast.net
;For Win32 only.
sendmail_from = <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e -->
and still can not get it to work.
I have tried localhost.
Any idea's of what to do?
Thank you
If you guys can give him an answer, you'll probably get a new member here!
Thanx bunchesi'm no expert in php, but some hosts block the mail() tag (if that's how it is.. he he..) apparantly there are ways of abusing it, probably by allowing to send anonimous mails, SPAM and the such.. i have this same problem with my host.
it sucks, yes.. it's sad.. mhmm.. but what do ya do? :/Thanx, I see you have the same problem too. But there just seems that there HAS to be a way to solve this! since you have change the php.ini, then you have your own server and probably not disable your mail function!
check out if you have a firewall blocking the smtp port (or if your ISP does)
However, my husband is the PHP programmer in THIS house and he has a question. I told him that the experts here could give him an answer. So here goes:
First of all I have done everything I can think of to send mail through the php mail function and can not seem to get it to work.
I have been into the php.ini file 50 times and have changed it 50 times when it comes to the mail as follows
[mail function]
; For Win32 only.
SMTP = SMTP.comcast.net
;For Win32 only.
sendmail_from = <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e -->
and still can not get it to work.
I have tried localhost.
Any idea's of what to do?
Thank you
If you guys can give him an answer, you'll probably get a new member here!
Thanx bunchesi'm no expert in php, but some hosts block the mail() tag (if that's how it is.. he he..) apparantly there are ways of abusing it, probably by allowing to send anonimous mails, SPAM and the such.. i have this same problem with my host.
it sucks, yes.. it's sad.. mhmm.. but what do ya do? :/Thanx, I see you have the same problem too. But there just seems that there HAS to be a way to solve this! since you have change the php.ini, then you have your own server and probably not disable your mail function!
check out if you have a firewall blocking the smtp port (or if your ISP does)