Announcement

#1 2010-05-23 21:03:18

kiddy-admin
Translation Team
Moscow
2009-05-16
116

[resolved] smtp warring

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

 

#2 2010-05-25 06:50:01

rub
Piwigo Team
Lille
2005-08-26
5019

Re: [resolved] smtp warring

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

 

#3 2010-05-28 20:19:39

kiddy-admin
Translation Team
Moscow
2009-05-16
116

Re: [resolved] smtp warring

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

 

#4 2010-06-23 19:17:00

kiddy-admin
Translation Team
Moscow
2009-05-16
116

Re: [resolved] smtp warring

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

 

#5 2010-07-01 18:15:05

rub
Piwigo Team
Lille
2005-08-26
5019

Re: [resolved] smtp warring

Try

- sendmail_from       no value
- sendmail_path       no value
- SMTP                      smtp.kiddyzoom.com
- smtp_port              25

?

Offline

 

#6 2010-07-08 16:05:23

kiddy-admin
Translation Team
Moscow
2009-05-16
116

Re: [resolved] smtp warring

No, it has not helped

Offline

 

#7 2010-07-08 16:19:52

laurent.duretz
Piwigo Team
22 France
2004-06-29
582

Re: [resolved] smtp warring

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.


« Entre Ce que je pense, Ce que je veux dire, Ce que je crois dire, Ce que je dis, Ce que vous avez envie d'entendre, Ce que vous entendez, Ce que vous comprenez... il y a dix possibilités qu'on ait des difficultés à communiquer. Mais essayons quand même... »
[ Bernard Werber ]
This is more difficult if you don't understand French !
[ Laurent ]

Offline

 

#8 2010-07-08 16:30:46

kiddy-admin
Translation Team
Moscow
2009-05-16
116

Re: [resolved] smtp warring

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

 

#9 2010-07-08 16:54:59

laurent.duretz
Piwigo Team
22 France
2004-06-29
582

Re: [resolved] smtp warring

which version of Piwigo is running on this Windows server ?


« Entre Ce que je pense, Ce que je veux dire, Ce que je crois dire, Ce que je dis, Ce que vous avez envie d'entendre, Ce que vous entendez, Ce que vous comprenez... il y a dix possibilités qu'on ait des difficultés à communiquer. Mais essayons quand même... »
[ Bernard Werber ]
This is more difficult if you don't understand French !
[ Laurent ]

Offline

 

#10 2010-07-08 16:59:52

kiddy-admin
Translation Team
Moscow
2009-05-16
116

Re: [resolved] smtp warring

2.1.1

Offline

 

#11 2010-07-08 17:20:35

laurent.duretz
Piwigo Team
22 France
2004-06-29
582

Re: [resolved] smtp warring

Your server kiddyzoom.com indicates :

Code:

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)


« Entre Ce que je pense, Ce que je veux dire, Ce que je crois dire, Ce que je dis, Ce que vous avez envie d'entendre, Ce que vous entendez, Ce que vous comprenez... il y a dix possibilités qu'on ait des difficultés à communiquer. Mais essayons quand même... »
[ Bernard Werber ]
This is more difficult if you don't understand French !
[ Laurent ]

Offline

 

#12 2010-07-08 17:27:27

kiddy-admin
Translation Team
Moscow
2009-05-16
116

Re: [resolved] smtp warring

When i have  unix  server and earlier  versions piwigo - yes,

But I have changed the tariff schedule hosting - and now here this error

Offline

 

#13 2010-07-08 17:43:50

laurent.duretz
Piwigo Team
22 France
2004-06-29
582

Re: [resolved] smtp warring

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 :

Code:

$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


« Entre Ce que je pense, Ce que je veux dire, Ce que je crois dire, Ce que je dis, Ce que vous avez envie d'entendre, Ce que vous entendez, Ce que vous comprenez... il y a dix possibilités qu'on ait des difficultés à communiquer. Mais essayons quand même... »
[ Bernard Werber ]
This is more difficult if you don't understand French !
[ Laurent ]

Offline

 

#14 2010-07-08 19:18:44

kiddy-admin
Translation Team
Moscow
2009-05-16
116

Re: [resolved] smtp warring

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

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact