• Resolved anderson

    (@anderson)


    I was wondering if it’s possible to send the form in plain text, because when I reply to an e-mail it sends it in HTML and the customer receives my reply like this:

    >
    MIME-Version: 1.0
    Content-Type: multipart/alternative; boundary=”–_com.samsung.android.email_2162742947069170″

    —-_com.samsung.android.email_2162742947069170
    Content-Type: text/plain; charset=utf-8
    Content-Transfer-Encoding: base64

    Ci0tLS0tLS0tIE9vcnNwcm9ua2VsaWprIGJlcmljaHQgLS0tLS0tLS1WYW46ICJEaWVzTGV1ay5u
    bCAtIFdvb25hY2Nlc3NvaXJlcyIgPGluZm9AZGllc2xldWsubmw+IERhdHVtOiAwMS0wMy0xNyAg
    MTY6NDUgIChHTVQrMDE6MDApIEFhbjogbGF1cmFfaGVpamxAaG90bWFpbC5jb20KCiBPbmRlcndl
    cnA6IFJlOiBEaWVzTGV1ay5ubCAtIENvbnRhY3Rmb3JtdWxpZXIgCkJlc3RlIExhdXJhLApEYXQg
    aXMgemVrZXIgbW9nZWxpamsuIEt1biBqZSBhYW5nZXZlbiB3ZWxrZSBSQUwtY29kZSBicnVpbiBq
    ZSB3aWx0Pyh6aWXCoGh0dHBzOi8vd3d3LnJhbGtsZXVyZW4uY29tL2JydWludGludGVuKSBEYW4g
    a3VubmVuIHdpaiBraWprZW4gb2Ygd2UgZGV6ZSBvcCB2b29ycmFhZCBoZWJiZW4uCkRlIG1lZXJw
    cmlqcyBpcyBldmVuIGFmaGFua2VsaWprIHZhbiB3ZWxrZSBrbGV1cmNvZGUgamUgb25zIHN0dXVy
    dC4gV2UgcmVrZW5lbiBkYW4gYWxsZWVuIGRlIGtvc3RwcmlqcyB2YW4gZGUgdmVyZiBlbiBnZWVu
    IG1hbnVyZW4uCkFsdmFzdCBiZWRhbmt0IHZvb3IgamUgcmVhY3RpZS4KTWV0IHZyaWVuZGVsaWpr
    ZSBncm9ldCwKVG9ueSBNb29yZURpZXNMZXVrLm5s

    —-_com.samsung.android.email_2162742947069170
    Content-Type: text/html; charset=utf-8
    Content-Transfer-Enc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ZW4gZGFuIGFsbGVlbiBkZSBrb3N0cHJpanMgdmFu
    IGRlIHZlcmYgZW4gZ2VlbiBtYW51cmVuLjwvZGl2PjxkaXY+PGJyPjwvZGl2PjxkaXY+QWx2YXN0
    IGJlZGFua3Qgdm9vciBqZSByZWFjdGllLjwvZGl2PjxkaXY+PGJyPjwvZGl2PjxkaXY+TWV0IHZy
    aWVuZGVsaWprZSBncm9ldCw8L2Rpdj48ZGl2Pjxicj48L2Rpdj48ZGl2PlRvbnkgTW9vcmU8L2Rp
    dj48ZGl2PkRpZXNMZXVrLm5sPC9kaXY+PC9ib2R5PjwvaHRtbD4=

    —-_com.samsung.android.email_2162742947069170–

Viewing 1 replies (of 1 total)
  • Hi Anderson

    Thanks for getting in touch with us.

    I’ve added this as a feature request to our Github repo (https://github.com/CodeCabin/contact-form-ready/issues/11).

    In the mean time though, you can add the following code to the bottom of your theme’s functions.php file:

    add_filer( 'wp_mail_content_type', 'cfr_change_content_type' );
    
    function cfr_change_content_type(){
    	return 'text/text';
    }
    

    I hope this helps?

Viewing 1 replies (of 1 total)
  • The topic ‘Output in plain text’ is closed to new replies.