• Is it possible to use content-type Text/plain: TXT file (Plain Text) in the email headers ? I am trying to reduce the amount of email from gmail/yahoo etc that goes to spam.

    The highest scorer on spam assassin is 2.1 FREEMAIL_FORGED_REPLYTO Freemail in Reply-To, but not Frompart – we don’t want to change that bit as its used to reply to the sender of the form.

    The second highest scorer is 1.7 HTML_IMAGE_ONLY_08 BODY: HTML: images with 400-800 bytes of words. The message is only text and we are only interested in text. Have tried using with and without the html box ticked but makes little difference.

    We are also using SMTP mail via sendinblue if we could get rid of the HTML_IMAGE_ONLY_08 message we are well under the threshold.

    Any other ideas welcome

Viewing 3 replies - 1 through 3 (of 3 total)
  • check contact-form-7/includes/mail.php @ line 107 the filter “wpcf7_mail_components” (3 args)

    you can add to $components[‘additional_headers’] the headers you need.

    untested, let me know if works!

    Thread Starter Dillx

    (@dillx)

    not sure how it will like multiple headers of content-type but will try giving it a go

    Couldn’t you make it available as an option so default is text-only and html is html & text

    I surely can’t but the developer of this plugin maybe, @takayuki will read and evaluate

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Content-Type Text only’ is closed to new replies.