Forum Replies Created

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

    (@rickyrwd)

    hi everyone, after many checks i have these conclusions:
    1) on hosting service, CF7 sends only with the HTML OUTPUT option disabled. With active HTML OUTPUT, the email is sent but does not arrive.

    2) on another hosting, i realized that the PHP SCRIPT was disabled for SPAM, I reactivated the SCRIPT.
    But I noticed that if the FROM field is too short, e-mail is sent but does not arrive. The sender receives email confirming (because the FROM field is longer, ex: Website Name – Confirm Send <[email protected]>) but does not reach the recipient, because the FROM field is too short (ex: [your-name] <[email protected]>).
    I added an entry for to have a longer field (ex: [your-name] from Website Name <[email protected]>) and it works.
    It will be a coincidence but i assure you that have tested it on multiple websites.

    Then i looked for solutions to bypass the PHP SCRIPT, in my opinion it should be a function to be added to CF7, to set a domain name SMTP making sure the e-mails are sent or in case an error notification to the user if the email service has problems.

    In my opinion, an error notification to the user is always better (ex. Sending failed – contact us by phone) than a confirmation of sending without receiving email.
    In my case, for example, the SCRIPT was blocked for SPAM but CF7 confirmed sending.

    Among the various solutions to set up SMTP without using plugins (it is absurd to use a plugin to set up a simple send) I found:

    https://gist.github.com/butlerblog/7e4dbafcbc61b15505ee8ca90510f1e7
    it is the ideal solution with parameters inserted in config.php and called from functions.php, but it doesn’t always work, maybe it depends on the position of the code in functions.php

    I believe the perfect solution is set up SMTP in CF7 integrations (example as Google Recaptcha is already integrated)

    @takayukister would be the TOP

    Thread Starter rickyrwd

    (@rickyrwd)

    The email is that of the domain name but is bypassed by the email SMTP.
    Now i try some configurations for SMTP and it seems that with one configuration it works, even the second reply email.

    I edit the other websites and check if it works

    Thread Starter rickyrwd

    (@rickyrwd)

    Today i set the SMTP parameters, now the module sends a some times and returns an error other times.
    I don’t have used a SMTP plugin
    Do I need to set specific functions for CF7?
    The second email is not sent (reply to sender)

    Thread Starter rickyrwd

    (@rickyrwd)

    Hello and thank you very much for the quick reply.
    This is one of the websites:
    https://www.castellodangio.com/contact

Viewing 4 replies - 1 through 4 (of 4 total)