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


#1

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.
Yakir.


#2

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


#3

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

Thanks.