[horde] Net email sending mechanism

Jan Schneider jan at horde.org
Tue Nov 28 15:14:54 UTC 2017


Zitat von Mike Poznecki <poz_sa at yahoo.com>:

> Hi, I would like to set it up so that when someone sends an email,  
> that email actually gets written to a file on my server and then my  
> cURL program (already written) sends the email.  Can someone help me  
> figure out how to configure Horde to call my own php file?  I know  
> that there is a configuration for choosing "Local sendmail binary"  
> and "SMTP server", but how can I add my own custom sender?  I can  
> write the php file for doing it.

Create a new Horde_Mail_Transport_* class, then configure  
$conf['mailer'] in config/conf.php manually, i.e. outside the markers.

-- 
Jan Schneider
The Horde Project
https://www.horde.org/



More information about the horde mailing list