vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Can't Get Amazon SES working with vBulletin (https://vborg.vbsupport.ru/showthread.php?t=320966)

pjkcards 12-03-2015 02:59 AM

Can't Get Amazon SES working with vBulletin
 
I'm trying to use Amazon SES for vBulletin after having some complaints about users not getting activation emails, notifications, etc.. In Email Options, I filled in these options:
https://www.dropbox.com/s/hs43eze1vx...59.36.png?dl=0

Using Port 425. I tried both SSL and TLS, and when I do an email diagnostic I get the following message:
"The mailing function returned an error while trying to send the mail."

What else do I need to do to get this working? -f parameter isn't enabled, I've left it as no. Could that cause any issues?

Any help would be greatly appreciated. Thanks.

Paul M 12-04-2015 08:02 PM

Prior to 4.2.3 you cannot do it, SES requires you to use the 'tls://' stream rather than 'tcp://' but this isnt available in older vbulletin versions.

In 4.2.3 a hook (mail_smtp_send_before) was added - which you can set [& use] to update the value

PHP Code:

$stream = ($this->secure == 'tls' 'tls://' $stream); 



In 4.2.4 the code has been updated slightly again to provide a new 'TLS Native' option that will use the tls stream value.

4.2.4 (Beta 1) is due out before the end of the year.

pjkcards 12-05-2015 08:20 AM

Thanks for your reply.

I'm using 4.2.2 now. If I upgrade to 4.2.3, and I update the hook using the code you provided, will it then work?


All times are GMT. The time now is 02:56 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01082 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete