1
AlienHand
no email notication using v2.0.14
  • 2006/8/10 19:47

  • AlienHand

  • Just popping in

  • Posts: 27

  • Since: 2005/4/12


Hi.

Using XOOPS 2.0.14 and up to date modules.

I'm having trouble getting email notifications when adding something in different modules. All the users are set to recive email notification and they all checked the global/category/whatever notification inside every module.
But, the users ain't getting any email notification no matter witch module I add something in. They do get PM if notification is set to PM - but it's set to recive email but not getting any.

Anyone with this problem?

Regards!

2
Bender
Re: no email notication using v2.0.14
  • 2006/8/10 21:02

  • Bender

  • Home away from home

  • Posts: 1899

  • Since: 2003/3/10


1. What kind of email sending are you using? phpmail? smtp?

2. Do people need to confirm registration and do they get the confirmation link by mail when they register?

3. Is the method you are using the one suggested by your hoster?
Sorry, this signature is experiencing technical difficulties. We will return you to the sheduled signature as soon as possible ...

3
AlienHand
Re: no email notication using v2.0.14
  • 2006/8/10 22:04

  • AlienHand

  • Just popping in

  • Posts: 27

  • Since: 2005/4/12


Thanks for the reply.

1. Default phpmail.

2. In this systen only Admin/webmaster can add a user - so I wouldn't know.
But, sending an email to all users from the admin-system gives me this:

Error
Language string failed to load: instantiate
Kunne ikke sende email til mathecon.
Language string failed to load: instantiate
Kunne ikke sende email til test.
Language string failed to load: instantiate
Kunne ikke sende email til test bruger.
Language string failed to load: instantiate
Kunne ikke sende email til test2.
Messengers sent.

I did this twice and only one user got one mail ... the second never came...

3. Well it's not my host - I'm just building the site for a university.
My test site however does send emails from the Admin-system just fine - but that too sends no mail notification !!!! Weird!

Don't know what to do.

Regards.

4
Daigoro
Re: no email notication using v2.0.14
  • 2006/8/11 18:38

  • Daigoro

  • Quite a regular

  • Posts: 223

  • Since: 2003/7/3 2


Hi Alienhand & Bender,

I've done some tests on my 2.0.14 system, and I, too, appears to have some problems.

New users can registrate and will recieve confirmation-emails, and Admin will also recieve emails about new users.

Using Liaise, I do also recieve emails send from users using an online form.

But event notifications, such as a newly added comment, or a new appointment entered into piCal does not trigger an email. It can however, trigger a PM, without problems.

Email notifications on new PM does not work, but as I understand it, it's an intented "feature" of 2.0.14.

To me this looks very much like there's someting wrong with the notification system in 2.0.14.
Best regards,
Daigoro

5
Daigoro
Re: no email notication using v2.0.14
  • 2006/8/12 15:46

  • Daigoro

  • Quite a regular

  • Posts: 223

  • Since: 2003/7/3 2


AlienHand wrote:
Quote:

Error
Language string failed to load: instantiate
Kunne ikke sende email til mathecon.
Language string failed to load: instantiate
Kunne ikke sende email til test.
Language string failed to load: instantiate
Kunne ikke sende email til test bruger.
Language string failed to load: instantiate
Kunne ikke sende email til test2.
Messengers sent.


As not everybody on this list can understand danish, it might be a good idear to translate the danish in the above into english.

"Kunne ikke sende email til %s" is the _MAIL_SENDMAILNG string from /language/YourLanguage/mail.php.
In english it reads "Could not send mail to %s."

The only place I can see it used, is in the xoopsmailer, and it appears only to be shown if sendMail() fails.

The place sendMail() fails is here:
if (!$this->multimailer->Send()) {
   
$this->errors[] = $this->multimailer->ErrorInfo;
   return 
FALSE;
  }


Multimailer is an instance of /class/mail/xoopsmultimailer.php.

I'm afraide thats as long as I can trace and understand the code. Something pretty strange is going on!

I hope you others will look into it.
Best regards,
Daigoro

6
AlienHand
no email nor notification using v2.0.14
  • 2006/8/22 22:33

  • AlienHand

  • Just popping in

  • Posts: 27

  • Since: 2005/4/12


Some more info.

Can't send mail to users nor auto-notifications.

Now - tests have been made. The results?

We tested a simple phpmailer form on different systems.
1) The main site where XOOPS is installed (where the problem is).
2) On one of my own domains.
3) My friend's domain.

For some reason the test worked fine on test-site 2 and 3. But the main site didn't work.

---- main site ----

1.1) Link to main site test:http://www.mathecon.dk/test.php
1.2) Link to main site phpinfo:http://www.mathecon.dk/si.php
1.3) Download the test code:http://www.mathecon.dk/test.phps

Try test 1.1 and see what happens !! (using php 4.4.4)
Now why does it do what?

---- test site ----

2.1) Link to other site test:http://www.allweb.dk/test.php
2.2) Link to other site phpinfo:http://www.allweb.dk/si.php
2.3) Download other site test code:http://www.allweb.dk/test.phps

This test works! (using php 4.3.2)
You may test if you want to. It will work!

---- game over ----

If anyone has an idea or solution please notify me - this bug is killing me and I have a deadline for my project.

Thanks!
Regards!

7
Daigoro
Re: no email nor notification using v2.0.14
  • 2006/8/23 9:04

  • Daigoro

  • Quite a regular

  • Posts: 223

  • Since: 2003/7/3 2


Hi Alienhand,

It seems like there's a problem with php catching the query string.

Try to make a new test to only check the phpMail() function, like this:

<?php
 mail 
("alienhand@gmail.com""Direct test of phpMail""This is a testmessage.""From: alienhand@gmail.comrnReply-To: alienhand@gmail.comrn"); 
 echo (
"Testmail send.");
?>


This code will just send the email, and say it's send.

Good luck.
Best regards,
Daigoro

8
AlienHand
Re: no email nor notification using v2.0.14
  • 2006/8/23 9:09

  • AlienHand

  • Just popping in

  • Posts: 27

  • Since: 2005/4/12


That worked!

So if phpmail works, XOOPS 2.0.14 is buggy.

S***

Regards.

9
Daigoro
Re: no email nor notification using v2.0.14
  • 2006/8/23 10:09

  • Daigoro

  • Quite a regular

  • Posts: 223

  • Since: 2003/7/3 2


Good to know it's working.

But your previous tests clearly shows there's something fishy about the way your php interprets the sent quiries.

I hope somebody with better insights into the various versions of php, can come up with an explanation about why the quiries are not understood on your form mail test.

To me it now appears that the mail problem you having is not related to phpMail, but rather to some kind of setting on your server or yours servers php installation.

I hope somebody here can explain the problem further, but alternatively you may have to just contact your host.

Again, good luck.
Best regards,
Daigoro

10
djayko
Re: no email nor notification using v2.0.14
  • 2006/8/24 7:56

  • djayko

  • Just popping in

  • Posts: 7

  • Since: 2006/5/11


I´ve a similar Problem.

After upgrade to 2.0.14 no notifications sent by email.

Only, if i set "inform about new user" -> Group: admin, there will sent emails to every user, that a new user is registered.
Thats wrong.

Sending Emails to a group functions troubleless.

I use smtpauth.

Login

Who's Online

130 user(s) are online (79 user(s) are browsing Support Forums)


Members: 0


Guests: 130


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits