ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

SMTP without closing connection

June 19, 2012 7:52am

Subscribe [1]
  • #1 / Jun 19, 2012 7:52am

    encountering an “AUTHRELAY limit exceeded” when using SMTP to send emails to large numbers of email addresses on the communicate page in the CP. it seems that rather than connecting to the SMTP server, sending the emails one after the other and then disconnecting from the server, it is instead connecting, sending once, disconnecting, reconnecting, sending the next email, disconnecting, etc.

    is this simply how the email class in Codeigniter is set up to work and is there any way of sending multiple emails in a single SMTP server connection?

    thanks!

  • #2 / Jun 20, 2012 11:08am

    Dan Decker

    7338 posts

    Hi Ben,

    Based on the info in the current User Guide for CI, it supports a BCC Batch mode - the question then is, are we using that in the Communicate functionality?

    A quick search in tools_communicate.php indicates that we are not, so boo on that!

    Looks like your assessment of the situation is accurate. You might file this as a Feature Request or a Bug Report. I would think we really would want to batch under certain circumstances.

    Thanks for your input!

    Cheers,

  • #3 / Jun 20, 2012 11:31am

    hi dan,

    yeah i saw the BCC Batch mode but i’m wondering if that will have the undesirable effect of not putting the recipient’s email address in the To field. i’ll investigate the CI email class further on my end and update here.

    thanks!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases