I am trying to send email from php here are my configuration and code :
smtp_port = 25
SMTP = 'my ip address'
mail('[email protected]', 'subject', 'message', 'FROM : headerInfo');
I do not know what I am missing this is not sending emails.
Edit :
I am not getting error .. $result = mail(); echo $result; is printing nothing.
No messages in spam.
Server is not local host the files are on remote server but i don't know if it is a SMTP server or not.
How can I UN-block ISP?
I checked the log :
fatal: bind 0.0.0.0 port 25: Address already in use
how can i fix it?