[horde] Net email sending mechanism

Mike Poznecki poz_sa at yahoo.com
Wed Nov 29 18:16:19 UTC 2017


 

    On Tuesday, November 28, 2017, 9:15:06 AM CST, Jan Schneider <jan at horde.org> wrote:  
 
 
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/

-- 
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe at lists.horde.org

Thank you, this got me going in the right direction.  I have created a new class and have set it up in my mail.xml.  After choosing my new method in the configuration screen, I received the following error:
driver (for HORDE_Mail_Transport not found).  line 85 of /Core/Factory/Base.php
I can see that it is not adding the name of my class onto the "HORDE_Mail_Trransport" variable.  Can someone help me understand why it is not?

  


More information about the horde mailing list