1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Problem sending more email sending is nothing

Discussion in 'XenForo Questions and Support' started by souhail93, Feb 28, 2015.

  1. souhail93

    souhail93 Active Member

    Hello everyone this morning I wanted to send emails to all my member (3500) and from the forum does nothing more please send any email how? or clear the cache if y 'has a
     
  2. Mike

    Mike XenForo Developer Staff Member

    Did anything change with your email configuration? Either on the server end or your settings in XF's control panel? Are there any server error logs in XF's control panel relating to mail not being sent?
     
  3. souhail93

    souhail93 Active Member

    here is the error code [​IMG]
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Looking at the error text, it appears you have exceeded the limit for the number of emails per day.

    You will need to contact your email provider and ask them to increase the limit.
     
  5. souhail93

    souhail93 Active Member

    yes even changing your email address I have the same errors
     
  6. souhail93

    souhail93 Active Member

     
  7. souhail93

    souhail93 Active Member

    I just created a new email address @ gmail.com but still nothing mail does not leave
     
  8. Tracy Perry

    Tracy Perry Well-Known Member

    The problem is.. Gmail only allows a set number of emails to be done a day. With 3500 emails to be sent, you are FAR exceeding what they allow.

    Google Apps limits it to 2000 a day if I remember correctly, and a Google Apps email typically doesn't end in .gmail.

    I think these are still Gmails limits
    Google Gmail Email Sending Limit

    - 500 emails per day when sending from their web interface
    - 100 emails per day when sending from a desktop email client
    - 10mb per message

    You are going to need to use your hosting providers email (and odds are they limit you to a set number per day also) or get on a VPS/dedi where you can utilize your own MTA for mail.
    Another option, if wanting to stay on a shared hosting provider is to use something like Mandril for your email.
     
  9. souhail93

    souhail93 Active Member

    its not working with mandrill

    Zend_Mail_Protocol_Exception: Email to s@live.fr failed: Connection refused - library / Zend / Mail / Protocol / Abstract.php: 277
    Powered by: © SOUSOU93 Ps, There is a moment
    Stack Trace
    # 0 /home/worldaidxm/www/library/Zend/Mail/Protocol/Smtp.php(167) Zend_Mail_Protocol_Abstract-> _connect ('ssl: //smtp.mand ...')
    # 1 /home/worldaidxm/www/library/Zend/Mail/Transport/Smtp.php(199) Zend_Mail_Protocol_Smtp-> connect ()
    # 2 /home/worldaidxm/www/library/Zend/Mail/Transport/Abstract.php(348) Zend_Mail_Transport_Smtp -> _ sendMail ()
    # 3 /home/worldaidxm/www/library/Zend/Mail.php(1194) Zend_Mail_Transport_Abstract-> send (Object (Zend_Mail))
    # 4 /home/worldaidxm/www/library/XenForo/ControllerAdmin/User.php(1145) Zend_Mail-> send (Object (Zend_Mail_Transport_Smtp))
    # 5 /home/worldaidxm/www/library/XenForo/ControllerAdmin/User.php(1024) XenForo_ControllerAdmin_User -> _ sendEmail (Array, Array, Object (Zend_Mail_Transport_Smtp))
    # 6 /home/worldaidxm/www/library/XenForo/FrontController.php(347) XenForo_ControllerAdmin_User-> actionEmailSend ()
    # 7 /home/worldaidxm/www/library/XenForo/FrontController.php(134) XenForo_FrontController-> dispatch (Object (XenForo_RouteMatch))
    # 8 /home/worldaidxm/www/admin.php(13) XenForo_FrontController-> run ()
    # 9 {main}
    Application Status
    array (3) {
    ["Url"] => string (50) "http://www.worldaide.fr/admin.php?users/email-send"
    ["_GET"] => Array (1) {
    ["Users / email-send"] => string (0) ""
    }
    ["_POST"] => Array (10) {
    ["Test"] => string (24) "Send a test email"
    ["Criteria"] => string (68) "{" receive_admin_email ":" 1 "," user_state ": [" valid "]" is_banned "[" 0 "]}"
    ["Total"] => string (4) "3472"
    ["From_name"] => string (10) "World Help"
    ["From_email"] => string (20) "contact@worldaide.fr"
    ["Email_title"] => string (7) "uhiuhiu"
    ["Email_format"] => string (4) "text"
    ["Email_body"] => string (6) "lmkmlk"
    ["_xfConfirm"] => String (1) "1"
    ["_xfToken"] => String (8) "********"
    }
    }
     
  10. Tracy Perry

    Tracy Perry Well-Known Member

    When you see a connection refused, it probably means your account did not authenticate. Are you trying to use the SMTP settings or did you use the Add-on that integrates with Mandril?
     
  11. souhail93

    souhail93 Active Member

    smtp pls send my add-on
     
  12. Tracy Perry

    Tracy Perry Well-Known Member

    No need to send it... it's available for download from the resource manager here.
     
  13. souhail93

    souhail93 Active Member

    XenForo_Exception: [bd] Mails: Sending mail failed, log is available at /home/worldaidxm/www/internal_data/bdmails_1425225817_d18677ab48db69c927ff1f7e3ab5c788.log -library/bdMails/Transport/Abstract.php:75
    Généré par: SOUSOU93 Ps©, il y a 2 minutes
    Trace de la pile
    #0 /home/worldaidxm/www/library/bdMails/Transport/Abstract.php(61): bdMails_Transport_Abstract->_bdMails_log(Array, '{"status":"erro...', false, Array)
    #1 /home/worldaidxm/www/library/Zend/Mail/Transport/Abstract.php(348): bdMails_Transport_Abstract->_sendMail()
    #2 /home/worldaidxm/www/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
    #3 /home/worldaidxm/www/library/XenForo/ControllerAdmin/User.php(1145): Zend_Mail->send(Object(bdMails_Transport_Mandrill))
    #4 /home/worldaidxm/www/library/XenForo/ControllerAdmin/User.php(1024): XenForo_ControllerAdmin_User->_sendEmail(Array, Array, Object(bdMails_Transport_Mandrill))
    #5 /home/worldaidxm/www/library/XenForo/FrontController.php(347): XenForo_ControllerAdmin_User->actionEmailSend()
    #6 /home/worldaidxm/www/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #7 /home/worldaidxm/www/admin.php(13): XenForo_FrontController->run()
    #8 {main}
    État de la demande
    array(3) {
    ["url"] => string(50) "http://www.worldaide.fr/admin.php?users/email-send"
    ["_GET"] => array(1) {
    ["users/email-send"] => string(0) ""
    }
    ["_POST"] => array(10) {
    ["test"] => string(24) "Envoyer un email de test"
    ["criteria"] => string(68) "{"receive_admin_email":"1","user_state":["valid"],"is_banned":["0"]}"
    ["total"] => string(4) "3473"
    ["from_name"] => string(10) "World Aide"
    ["from_email"] => string(20) "contact@worldaide.fr"
    ["email_title"] => string(7) "gjhytfj"
    ["email_format"] => string(4) "text"
    ["email_body"] => string(9) "tyutyutyu"
    ["_xfConfirm"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    }
    }
     
  14. Tracy Perry

    Tracy Perry Well-Known Member

    Did you review the log at /home/worldaidxm/www/internal_data/bdmails_1425225817_d18677ab48db69c927ff1f7e3ab5c788.log and see what it told you? It will usually give you an error. I have a feeling you either don't have Mandril set up correctly or your login you are using is invalid.
     
  15. souhail93

    souhail93 Active Member

    array (
    0 =>
    array (
    'to' =>
    array (
    0 =>
    array (
    'email' => 'souhail.93@live.fr',
    ),
    ),
    'headers' =>
    array (
    'X-To-Validate' => '47c2ad12+souhail.93@live.fr',
    'Message-Id' => '<0a4aa1b69453fb51cb3aab6ae6ba92e9e0addc0b@www.worldaide.fr>',
    'Content-Transfer-Encoding' => 'quoted-printable',
    'Content-Disposition' => 'inline',
    ),
    'from_email' => 'xenforo@contact@worldaide.fr',
    'from_name' => 'World Aide',
    'subject' => 'gjhytfj',
    'text' => 'tyutyutyu',
    ),
    1 => '{"status":"error","code":-2,"name":"ValidationError","message":"Validation error: {\\"message\\":{\\"from_email\\":\\"An email address must contain a single @\\"}}"}',
    2 => false,
    3 =>
    array (
    'microtime' => 0.67366194725036621,
    ),
    )
     
  16. Tracy Perry

    Tracy Perry Well-Known Member

    You haven't configured it correctly.
    HTML:
    'from_email' => 'xenforo@contact@worldaide.fr',
    
    Think you have a few to many @'s in there.
     
  17. souhail93

    souhail93 Active Member

    low I do not know how its done?
     
  18. Tracy Perry

    Tracy Perry Well-Known Member

    I'm assuming you have signed up with Mandrill, gotten the API key and put it in as you were supposed to, and reflected the correct domain? You also have to configure on the Mandril end also, and if I remember correct set up some DNS entries that Mandrill requires. It's pretty much explained by reading through the resource discussion for that add-on.
     
  19. Brogan

    Brogan XenForo Moderator Staff Member

    For further support related to that add-on, please post on the related discussion thread.
     

Share This Page