• Resolved leviracz

    (@leviracz)


    Hi, First things first, thanks so much for your great plugin, and keep up the good work. Everything works fine except one thing. We have a file upload option on our forms. The hyperlink (to the wp-content folder) is posted to the endpoint successfully, it works fine, that is great.

    But since I have activated the plugin, I don’t get file attachments in emails anymore. Any idea? Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mário Valney

    (@mariovalney)

    Hey @leviracz how are you?

    Thanks for using our plugin.

    I just checked here and it’s all OK when using the last version (Contact Form 7 5.1.6; WordPress 5.3.2; and, CF7 to Webhook 2.1.2).

    Can you check, please:

    – Is everything updated?
    – In “Mail” tab, is the [your-file-tag] on “Attachments”?
    – In “Webhook tab”, is “Send CF7 mail as usually” checked?

    Thread Starter leviracz

    (@leviracz)

    Hey @mariovalney thanks for your super quick reply, in the end it turned out that I made a mistake when I forgot the code you mentioned earlier on github, in my theme’s functions.php. (https://github.com/Vizir/cf7-to-zapier/issues/3#issuecomment-363265133)

    I was about to post attachments to a remote url as a file, not a link, that’s why I gave that code a try. Seems it brakes e-mail attachments, so be careful with it. Anyway, I know it’s an outdated implementation of the feature that works out of the box now, but a file sending (posting) feature would be super-cool.

    Thanks again for the good work!

    Plugin Author Mário Valney

    (@mariovalney)

    Nice to hear you back.

    The problem on sending file to server is that I’m afraid there’s no way to make sure all webhooks will accept it in same way. So the most safe is to keep in server and sent the URL.

    Anyway, you can try to change the data sent to server changing the request with ctz_post_request_args filter.

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

The topic ‘Attachments disappeared from email’ is closed to new replies.