Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Problem with Email notification
https://www.tinywebgallery.com/forum/viewtopic.php?f=5&t=207
Page 1 of 1

Author:  borut [ 12. Mar 2006, 00:33 ]
Post subject:  Problem with Email notification

Can anybody help me with this problem PLEASE!

I'm running version 1.4.0.3

When I put short name in field for email address end click send, the aplication return:
"Thanks you for the registration. A confirmation email is sent to your email address."

On what email adres it is sending? I'm not geting it on my own, and can't be send to sender because it is not walid email address. But the short name is written in xml dir. in file subscribers.xml

If I put any email address in the field for email address I get..."CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:" and in that case nothing is written in xml file.

If I write the email address on my own in the subscribers.xml file, I can see that in administrator panel, and I can send email no matter how many emails I wrote in xml file. But no one gets eny.

Then I get file _mydebug.out " 03.11.2006 20:20:18 - ERROR 2 in \5element\galerija\admin\email_admin.php, line 154: mail(): SMTP server response: 550 5.7.1 Unable to relay for borut.polovsak@siol.net"

I'm very new in that :) so be considerate for that and my my bad english too.

Author:  TinyWebGallery [ 12. Mar 2006, 11:23 ]
Post subject: 

emails should be sent to the email you want to register.

The relay seems to be the problem.

your php does not allow to send emails with your email address.
can be email restrictions of your host.

you may ask your hoster if the mail send function can be used and how.
i have searched google with this error (mail(): SMTP server response: 550 5.7.1 Unable to relay for) and found a couple of solutions - please check if one is working for you.

where do you get the cgi error exactly - I want to try to reproduce the error.

/Michael

Author:  borut [ 12. Mar 2006, 16:57 ]
Post subject: 

Thanx for the fast replay

It is very strange... I'm running phpbb forum on the same site, and there is no problem with sending emals. I had to write the SMTP server whitch is in my case smtp.siol.net and username and password. Should I have to wrote the same thing in twg too? I will check the google too and I'll let you know.

I get cgi error in the same window where the email address must imput at the top of right corner.
Image
Image

Author:  TinyWebGallery [ 12. Mar 2006, 18:04 ]
Post subject: 

ok twg is using the local php server - not a server you can configure.

thats the difference. ...

Author:  borut [ 12. Mar 2006, 20:29 ]
Post subject: 

Thanx for advice :)

I configure my php.ini to...

[mail function]
; For Win32 only.
SMTP = smtp.siol.net ; for Win32 only
smtp_port = 25
sendmail_from= 5element@siol.com ; for Win32 only

; For Win32 only.
;sendmail_from = 5element@siol.net.com

and now it is working :)

But ther still remains cgi error when I put email addres in a field for Email notification

Any suggestion??

My progress is slow but certain :)

Author:  TinyWebGallery [ 13. Mar 2006, 10:15 ]
Post subject: 

hi,

maybe the checking of the email domain fails on your system.

set

$test_email_by_checking_url=false; // new 1.2 - twg can test entered emails by trying the corresponding email domain - e.g. test@test.com would be tested by opening a connection to www.test.com - if this fails the email is not valid. This is not a 100% test because there are a few email servers that don't have a Http server running! If you set this to true these users have to enter a different email - if you are not online (test against wwww.google.de fails!) this test is skipped.

I don't know where the cgi error can come oherwise ...

I can add and remove users on my system without any problems...

Is there something in the xml/_mydebug.out ?

/Michael

Author:  borut [ 13. Mar 2006, 13:14 ]
Post subject: 

hi,

I just put $test_email_by_checking_url=false; in my_config.php

And now everything works perfect. :)

Thanx again for your consideratin and fast replay.

Now I'm working on translation for Slovenian languge, I'll post it to you when I'll finish with it.

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/