good day, after upload photos by my users they see note of error:
Warning: mail(): Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in E:\Rooms\u221409\kiddyzoom.com\www\include\functions_mail.inc.php on line 764
and I do not receive notification of loaded images
what can i repair this?
Offline
You do a local test on your computer?
On a windows environnement?
PHP on windows a configured for a local smtp.
Several way:
o change localhost on php.ini
o use local config in order to used smtp parameters
Each time, used your smtp parameter used for you current mail.
Offline
hoster answered:
Sending anonymous e-mail messages (including mail () function in PHP) with
servers, virtual hosting on Windows Server is impossible
i need simple, clear for girls mind:) steps in way to resolve this problem
Offline
I can now edit my php.ini file
there is now
- sendmail_from mail@kiddyzoom.com
- sendmail_path no value
- SMTP smtp.kiddyzoom.com
- smtp_port 25
that is right?
I doubt because as get an error when such a configuration:
Notice: Use of undefined constant php - assumed 'php' in E: \ Rooms \ u221409 \ kiddyzoom.com \ www \ include \ functions_mail.inc.php on line 1 Fatal error: Call to undefined function pwg_mail_notification_admins () in E: \ Rooms \ u221409 \ kiddyzoom.com \ www \ include \ functions_user.inc.php on line 214
Offline
Try
- sendmail_from no value
- sendmail_path no value
- SMTP smtp.kiddyzoom.com
- smtp_port 25
?
Offline
Verify if the file include/functions_mail.inc.php is present on your server because error message says that function pwg_mail_notification_admins() is undefined.
Offline
in browser i see error message: 500 server error,
but I can see it in the panel ftp manager
Last edited by kiddy-admin (2010-07-08 16:48:42)
Offline
which version of Piwigo is running on this Windows server ?
Offline
Your server kiddyzoom.com indicates :
Warning: mail(): SMTP server response: 530 5.7.1 Authentication required in E:\Rooms\u221409\kiddyzoom.com\www\include\functions_mail.inc.php on line 764
when I try to upload images
This error means that your SMTP server requires a login/password.
Does mail work previously ?
Last edited by laurent.duretz (2010-07-08 17:22:14)
Offline
When i have unix server and earlier versions piwigo - yes,
But I have changed the tariff schedule hosting - and now here this error
Offline
Ok, it's your first PHP on Windows configuration.
One thind you can try is to edit the file local/config/config.inc.php and add these parameters :
$conf['smtp_host'] = 'your_smtp_host'; $conf['smtp_user'] = 'your_smtp_user'; $conf['smtp_password'] = 'your_stmp_password';
If your PHP supports fsockopen(), the mail will not be sent with PHP mail() function but with Piwigo mail class
Offline
thanks a lot! Finally works!
though now in another error: the notification server rejected as spam
SMTP error from remote mail server after end of data:
host nmx11.masterhost.ru [90.156.155.115]:
550 The message has been rejected by spam filtering engine.
but that's another story!
Thank you very much!
Offline