I can't send emails from the cronjob (and from the ssh)


Hey you.

I want to run script (php) in the cronjob, and i want to get in my email notification from the script (I using with mail() php function).

Why its not send mails from there?
I really need to get it work from cronjob.

Thanks you for your service.


What are you using for your “from” header? It must be a dreamhost based domain for the from address.


You right… That’s my problem on my script… I just write my gmail account in ‘from mail’.