WordPress.org

Ready to get started?Download WordPress

Forums

Custom Contact Forms
Bugfix for smtp feature (2 posts)

  1. mjgmaas
    Member
    Posted 1 year ago #

    Using the smtp setting to send email through an smtp server did not work on my installation. I had some warnings in the error logs. I found that the SMTPSecure property in the PHPMailer object was not set. After fixing this sending mail through smtp went fine.

    I made the following changes in custom-contact-forms-front.php:
    Added the following line on lines 419 and 570:
    $mail->SMTPSecure = $admin_options['smtp_encryption'];

    I hope this fix can be added to the next release.

    Kind regards,
    Maurice Maas

    http://wordpress.org/extend/plugins/custom-contact-forms/

  2. patrict
    Member
    Posted 1 year ago #

    You sir are a scholar and a gentleman :) Worked like a bomb, thanks!

    Regards,
    Patric

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic