• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

mail doesnt work at all from web

H

happy

Guest
When using PHP and the function:
mail()

it doesnt send it at all, i get no errors, and no mail. What can be wrong?

i can perfectly reccive and send e-mails using thunderbird.

Ports open to my server for mail are: 25 143 and 110.. i still can't see whats wrong.

Do i need to open any other ports, or is there something with my config, if there is how do i fix it?
 
php.ini issue

Take a look at your php.ini on /etc dir and compare with the old, saved as .bak or .psa or other name in the same dir.

The big difference from the old version is the usage of SAFE MODE. Be careful and be aware of this, you have to deactivate only for old .php coded systems, from your Plesk CP Domain/Set Up or you can make a new vhost.conf that will be included at httpd.include of the dir:
/home/httpd/vhosts/yourdomain.com/conf
and where you will have to enter like :
php_admin_flag safe_mode off

to a specific directory works without safe mode of PHP Support.
 
well i checked and i tryed, but i most admit, i didn't really understand what you ment, please explain it more "english" :p im not that good, i found the php.ini file, but i didnt know what to edit dere.
 
let's do the easiest first, go to plesk:
Domain/Setup

uncheck safe mode of PHP (on PHP support)

Save.

Restart apache then.

and try again to see what happened with PHP Mailer you use.
 
okay, i unchecked it on the domain that was my "consern" so it's no disabled, and not "php safe" i restartet apache, and the server but still nothing happend.
 
oh, now it works, as long as i send it to my local domains, as soon as i try sending somewhere else it just doesnt send, nobodys getting it, nither my other mails..
 
And what happens with mails sent from clients like MS-Outlook (or the alike) - do the messages get thru ?
I have to intruct all users to check the option "My SMTP server requires authentication" in order to be able to send to external domains.
Not doing so results in deliveries only within the local domain.
DR
 
Back
Top