Suggestion: Configurable Mailer (via Kohana's Email Helper?)

sbw

Joined: 2009-03-28
Posts: 6
Posted: Sun, 2010-03-21 02:19

I just spent a few frustrating hours hacking modules/gallery/libraries/Sendmail.php to use PEAR Mail instead of PHP mail().

Why? Because Webfaction's SMTP servers are separate from their web servers, so PHP mail() doesn't work.

It's a simple hack, but it took forever to get it working, apparently due to some weirdness around Webfaction's handling of PEAR. (I don't actually know. It just started working for some reason.)

It would have been simpler if Gallery 3 used Kohana's Email Helper, right? I would have been able to configure it to use Webfaction's SMTP servers much more easily.

So can I suggest that as an enhancement? Does Kohana's Email Helper work well? (I'm not at all familiar with Kohana beyond what I learned today trying to get this working.)

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22892
Posted: Sun, 2010-03-21 04:19

Never heard of Webfaction so I did a search, the first hit does not look good, but I digress...

Quote:
So can I suggest that as an enhancement?

Sure: https://sourceforge.net/apps/trac/gallery/newticket registration is free and will not get lost in the forums.

Quote:
Does Kohana's Email Helper work well?

Don't know, all my host have been able t use mail() , so never tried.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
sbw

Joined: 2009-03-28
Posts: 6
Posted: Sun, 2010-03-21 17:22