• Resolved zoonars

    (@zoonars)


    Hello lately Ive been having issues sending emails via Brevo mail server proxy and WP Mail SMTP indicates the following whenever I try to submit forms with attached files that are greater than 1.5MB. I can get forms to submit and emails to go through if no form attachments are added, but after a certain attachment size threshold I get an error and inability to submit form. Im engaging Brevo on this issue as well and wanted to get any input from the plugin side.

    As a clarification, if I disable WP Mail SMTP and use my web host’s mail servers, the contact form goes through even with larger file attachments, so Ive narrowed it down to WP Mail SMTP with Brevo option.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter zoonars

    (@zoonars)

    Here is a debug error log from WP Mail SMTP

    Debug Event Details
    
    TypeError
    
    DateOctober 27, 2023 at 10:03 am
    
    Content
    
    Mailer: Brevo
    http_request_failed: ["cURL error 28: Operation timed out after 5002 milliseconds with 0 bytes received"] Source Contact Form 7 /home4/nadiyasc/public_html/wp-content/plugins/contact-form-7/includes/mail.php (line: 258)

    Backtrace:
    [0] wp_mail called at [/home4/nadiyasc/public_html/wp-content/plugins/contact-form-7/includes/mail.php:258]
    [1] WPCF7_Mail->compose called at [/home4/nadiyasc/public_html/wp-content/plugins/contact-form-7/includes/mail.php:35]
    [2] WPCF7_Mail::send called at [/home4/nadiyasc/public_html/wp-content/plugins/contact-form-7/includes/submission.php:791]
    [3] WPCF7_Submission->mail called at [/home4/nadiyasc/public_html/wp-content/plugins/contact-form-7/includes/submission.php:115]
    [4] WPCF7_Submission->{closure} called at [:]
    [5] call_user_func called at [/home4/nadiyasc/public_html/wp-content/plugins/contact-form-7/includes/l10n.php:147]
    [6] wpcf7_switch_locale called at [/home4/nadiyasc/public_html/wp-content/plugins/contact-form-7/includes/submission.php:131]
    [7] WPCF7_Submission->proceed called at [/home4/nadiyasc/public_html/wp-content/plugins/contact-form-7/includes/submission.php:35]
    [8] WPCF7_Submission::get_instance called at [/home4/nadiyasc/public_html/wp-content/plugins/contact-form-7/includes/contact-form.php:1049]
    [9] WPCF7_ContactForm->submit called at [/home4/nadiyasc/public_html/wp-content/plugins/contact-form-7/includes/rest-api.php:357]
    [10] WPCF7_REST_Controller->create_feedback called at [/home4/nadiyasc/public_html/wp-includes/rest-api/class-wp-rest-server.php:1194]
    [11] WP_REST_Server->respond_to_request called at [/home4/nadiyasc/public_html/wp-includes/rest-api/class-wp-rest-server.php:1041]
    [12] WP_REST_Server->dispatch called at [/home4/nadiyasc/public_html/wp-includes/rest-api/class-wp-rest-server.php:431]
    [13] WP_REST_Server->serve_request called at [/home4/nadiyasc/public_html/wp-includes/rest-api.php:418]
    [14] rest_api_loaded called at [/home4/nadiyasc/public_html/wp-includes/class-wp-hook.php:310]
    [15] WP_Hook->apply_filters called at [/home4/nadiyasc/public_html/wp-includes/class-wp-hook.php:334]
    [16] WP_Hook->do_action called at [/home4/nadiyasc/public_html/wp-includes/plugin.php:565]
    [17] do_action_ref_array called at [/home4/nadiyasc/public_html/wp-includes/class-wp.php:398]
    [18] WP->parse_request called at [/home4/nadiyasc/public_html/wp-includes/class-wp.php:779]
    [19] WP->main called at [/home4/nadiyasc/public_html/wp-includes/functions.php:1335]
    [20] wp called at [/home4/nadiyasc/public_html/wp-blog-header.php:16]
    [21] require called at [/home4/nadiyasc/public_html/index.php:17]

    Hi @zoonars,

    Thanks for reaching out and I’m so sorry about the cURL error.

    The error indicates that there’s an issue with the cURL library in your server and this is not specific to the WP Mail SMTP plugin.

    You may need to contact your hosting provider and provide them with this error message and they should be able to fix it for you. It’s likely that the cURL library needs to be updated.

    Alternatively, you may consider switching to a different mailer option. In some cases, we find that only a specific mailer/API will run into issues on a site while other options will work just fine.

    You can see all the available mailers here:?

    https://wpmailsmtp.com/docs/a-complete-guide-to-wp-mail-smtp-mailers/

    I hope this helps!

    Thanks ??

    Thread Starter zoonars

    (@zoonars)

    Hello, I can consider contacting my host regarding this question. The thing is this combination of mailer and your plug-in has been stable for quite a while, and it wasn’t until recently that this came up. I’m also in contact with Brevo to see if anything changed on their end.

    Hi @zoonars,

    Thanks for your reply.

    Yes, it makes sense to reach out to the folks at Brevo also.

    On our end, the plugin doesn’t have any way of causing this error.

    If there’s anything we can do to help or if you have any other questions regarding WP Mail SMTP, please feel free to always let us know.

    We’re happy to help. Thanks ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘cURL error 28 with Brevo’ is closed to new replies.