Contact Form SMTP

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10035796
    Sparky80
    Participant

    While the contact form is functioning – messages are being delivered to the recipient email’s spam folder.

    Our server operator has raised the following solution;

    ‘I would highly recommend using a script that sends through SMTP, using an existing mailbox and authenticating with username and password on port 587 using TLS encryption. We can provide a hostname if needed. This way the emails are being sent properly from a mail server and we can check the log files in case any of them fail or aren’t delivered.’

    What do I need to alter within the existing code to carry this out?


    #10035803
    Support
    Keymaster

    Hello,

    You can enable the SMTP to send emails at php/contact-form.php around line 57 until 65:

    There’s SMTP settings you should uncomment and fill with hosting information like host, port, etc…

    We hope this helps!

    Please try that and let us know if you need further assistance.

    Kind Regards,

    Rodrigo.

    If you are satisfied with Porto HTML and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads


Viewing 2 posts - 1 through 2 (of 2 total)

This topic is marked as "RESOLVED" and can not rceive new replies.