Hi all,
I already read some posts here about the sendmail issues.
I asked to my provider and they suggest me to change the value in ";sendmail_from = "
I checked the php.ini file and I changed the value ";sendmail_from = myemail@mydomain.com"
The email address is the same in the Option>Plugin>Mail Address and Options>General>Site Mail and it is a valid email address.
Now I am having the same error "zenphoto_sendmail failed to send XXX to one or more recipients."
Do you have any advice about what I should do to make it works?
So many thanks in advance.
Luca
Comments
I've asked to my web-hosting and they sent me this:
*****
You must change the script you are using to correctly use a valid From: header
Examples of headers that should work would be:
From: user@domain.com
From: <user@domain.com>
From: "name" <user@domain.com>
Examples of headers that will NOT work:
From: "user@domain.com"
From: user @ domain.com
2. Modify the php.ini to have a default address:
Find the php.ini file in /public_html
Search for 'sendmail_path'
Modify the variable to appear like the following:
sendmail_path = "/usr/sbin/sendmail -t -i -f'user@domain.com' "
*******
I've updated the php.ini
in the ZP options I double checked but there is only the email field.
I'm running the ZP version 1.2.8 [4881]
is it enough to update the zp-estentions folder with the nightly builds or it's better to update all the package?
sorry for the silly question.
Thanks again for your help and for the great ZP!!
Luca
thanks again!
I followed all the upgrading instructions and everything was fine.
Now I am running the version 1.2.8 [4945].
Sorry to bother you but I cannot find the option to setup the mail, neither in the plugin options nor in the general option.
I had a look everywhere but I can't see anything...
Could you please help me to find it?
Many thanks again
Luca
email are sent.
But I have still the "zenphoto_sendmail failed to send Subject ( Design + Photography) to one or more recipients."
any idea?
Many many thanks!
I've try to find how to disable the plug in but it seems there is nothing in the Admin panel.
In the php code the function is also in the PHPmailer, so, I do apologise, but I have not a strong PHP background (actually is the first time I cope with it) and I don't have a clue where to comment the code to receive the confirmation message.
May I ask you directions?
Thanks, and thanks again.
1. zenphoto-sendmail using the normal PHP mail() function (this works fine on my host)
2. the phpmailer class (an adapted tool) that has advanced functionality but is also able to use the mail() function.
It works...