SMTP email sending

SMTP email sending, a forum discussion on Jojo CMS. Join us for more discussions on SMTP email sending on our General Discussion forum.

Back to Forum Index : Back to General Discussion   RSS
Jaijaz Jaijaz

5 Jul 2012
Posts: 215

Is anyone using the smtp options for email sending?

The event log is logging a series of 5 errors that I am unable to work out what is going on. The email appears to send. Though I do have a problem with a shopping cart where the contact and webmaster emails are getting through despite the customer one getting through.

The errors are:
Error No: 8
Description: Only variable references should be returned by reference
File: /var/www/jojo-2011_10_03/plugins/jojo_core/external/mimemail/htmlMimeMail.php
Line: 403

Error No: 8
Description: Undefined index: HTTP_SERVER_VARS
File: /var/www/jojo-2011_10_03/plugins/jojo_core/external/mimemail/htmlMimeMail.php
Line: 611

Error No: 8
Description: Only variable references should be returned by reference
File: /var/www/jojo-2011_10_03/plugins/jojo_core/external/mimemail/smtp.php
Line: 94

Error No: 8
Description: Undefined variable: comments
File: /var/www/jojo-2011_10_03/plugins/jojo_core/external/mimemail/RFC822.php
Line: 587

Error No: 8
Description: Undefined variable: comments
File: /var/www/jojo-2011_10_03/plugins/jojo_core/external/mimemail/RFC822.php
Line: 587


Looking through the mimemail files I can't see why they would fail.
If you not living on the edge you taking up too much space.
Rick Rick

5 Jul 2012
Posts: 336

None of my stores are using this option so I haven't come across the error, sorry.

You might've typoed above, which emails are and aren't getting through? (you currently say that all are but I suspect there's a missing "not").
Harvey

Core Developer

Harvey

5 Jul 2012
Posts: 327

HTTP_SERVER_VARS is deprecated, so my guess is your version of PHP has given up support for this. HTML Mimemail is ancient, and I'm fairly sure it's unsupported.

So it's probably a relatively simple exercise to fix the bugs in the Jojo copy of HTML Mime Mail - without having to worry about breaking the upgrade path. Otherwise look at replacing it with something newer.
Jaijaz Jaijaz

6 Jul 2012
Posts: 215

Thanks for the replies. To clarify all the emails are being sent. It appears though that the ones out of the cart were trigging highish (8) anti spam scores so that is why they weren't getting through.

Was aware of the HTTP_SERVER_VARS being depreciated (thanks Harvey) so thinking that it is all related to that.

I'll see how hard it is to fix the Jojo version but I'm leaning towards perhaps using something like Swiftmailer due to it's plugin architecture and already built and fully supported Throttler Plugin. I've used it a little recently and is very cool. Perhaps I'll use it as a plugin?
If you not living on the edge you taking up too much space.
Back to Forum Index : Back to General Discussion   RSS
You must be logged in to post a reply



You need to Register or Log In before posting on these forums.