[horde] PGP: PHP Fatal error when sending Mail with attachment

Michael M Slusarz slusarz at horde.org
Tue Dec 30 18:50:17 UTC 2014


Quoting Andreas Mauser <andreas at mauser.info>:

> Hi,
>
> I trust you all had a merry xmas!
>
> When sending a mail w/o attachment I find no problems encrypting  
> mails in Horde.
>
> Sending an attachment did not work and put this error message in the  
> error.log:
>
> [Tue Dec 30 09:38:10.964678 2014] [:error] [pid 23114] [client  
> 192.168.24.101:46515] PHP Fatal error:  Call to a member function  
> setTransferEncoding() on a non-object in  
> /usr/share/pear/Horde/Crypt/Pgp.php on line 1258, referer:

This command is used when signing, not encrypting.  Are you sure you  
are actually encrypting?

What version of gnupg are you using?  gnupg v2 has issues so you  
should be using gnupg v1.  (Although, FWIW, I see no issues attaching  
with the current Horde_Crypt code).

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the horde mailing list