[ php-blog-Bugs-2791780 ] serendipity_event_smtpmail: SSL not working

"SourceForge.net" <[email protected]> Mon, 18 May 2009 11:57:43 +0000
Newsgroups gmane.comp.serendipity.trackers
Message-ID <[email protected]>
Bugs item #2791780, was opened at 2009-05-14 15:48
Message generated for change (Comment added) made by garvinhicking
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=542822&aid=2791780&group_id=75065

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Plugins
Group: v0.9.1
>Status: Closed
>Resolution: Fixed
>Priority: 1
Private: No
Submitted By: Holger (wolffh76)
Assigned to: Garvin Hicking (garvinhicking)
Summary: serendipity_event_smtpmail: SSL not working

Initial Comment:
Sending E-Mails through an external SMTP host using SSL is not possible, connecting to the host failes.
Error is in line 148 of serendipity_event_smtpmail.php


----------------------------------------------------------------------

>Comment By: Garvin Hicking (garvinhicking)
Date: 2009-05-18 11:57

Message:
Thanks a lot, now I understand. Fixed and committed. :)

----------------------------------------------------------------------

Comment By: Holger (wolffh76)
Date: 2009-05-18 11:49

Message:
I have it working , so I guess my provider has SSL support installed. The
error I got was a problem opening the connection. 

You are right, it sets an object variable, but to the wrong value. 
get_config('smtpmail_auth') stores the authentification method, and is
assigned to SMTPSecure, the encryption protocol.
the correct code (or at least the one that works for me) is:

$mail->SMTPSecure = $this->get_config('smtpmail_secure');

Cheers,

Holger


----------------------------------------------------------------------

Comment By: Garvin Hicking (garvinhicking)
Date: 2009-05-18 08:19

Message:
Did you enable SMTP auth?

Which error exactly do you get? Line 148 only sets an object varible.

Does your PHP have SSL support compiled in?

Regards,
Garvin

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=542822&aid=2791780&group_id=75065

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects