Forums / Cotonti / Support / sed_mail doesn't work...

tensh
#1 2011-11-14 00:36

I have a problem on my host: sed_mail ceased to work (I didn't even notice when... probably a long time ago since it's been a while since I received any pm notifications. silly me...)

Php: 5.2.17

I didn't touch it... didn't change anything... it just doesn't send emails.

Also on fresh Genoa 6.0.20 installation, no emails are sent...

Does anybody have a similar problem?

 

Trustmaster
#2 2011-11-14 05:50

Can you test if PHP mail() function works with a simple script on your host?

May the Source be with you!
tensh
#3 2011-11-14 07:16

Yes, it works, I've sent an email with a simple mail('email', 'subject', 'text').

Also, I have a strange mailparse module compiled with php, (php 5.2.17) can this be the cause? By the way, I think I recall I was sending emails without problems using a webmail mode of the old-good PHP-Mailer library.

Maybe it's something about encoding?

Eventually, I will write a custom mailing function, but I wonder why something so standard as sed_mail doesn't work in my case.

Trustmaster
#4 2011-11-14 13:14

Then it seems like a sed_mail() problem. Try to simplify its code and see after what modification it starts to work.

May the Source be with you!
tensh
#5 2011-11-14 18:26

Hahaha... it was trivial... I'm sorry.

Just $cfg['adminemail'] value was empty O_O I didn't expect that. That's why emails weren't sent. When I set it in config.php, emails normally are sent.