WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Additional headers UTF-8 troubles (4 posts)

  1. smirnou
    Member
    Posted 2 years ago #

    Hello. I have some troubles with additional header

    Reply-to: [user-name] <]user-mail]>

    when user name in cyrillic charset then this string is:
    (1)'Reply-To: =?UTF-8?B?0JDQu9C10LrRgSA8YiswMDlAbW9sby5ieT4=?='

    and must be:
    (2)'Reply-To: =?UTF-8?B?0J/QsNC00YDRjSDQn9C40L4=?= <cyrillic_user@example.com>'

    so, other mail systems (gmail, helpdesk software) don't accept this string (1)

    Have you some ideas?

    Thanks

    http://wordpress.org/extend/plugins/contact-form-7/

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 2 years ago #

    I confirmed this issue. Actually this is not about Contact Form 7 plugin. I think this should be addressed in the PHPMailer class.

  3. smirnou
    Member
    Posted 2 years ago #

    I found: for correct setting of Reply-to header is necessary to use phpmailer function:
    AddReplyTo($address, $name = '')

    can i use it from ContactForm7?

  4. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 2 years ago #

    You should use it in wp_mail() function. Maybe 'phpmailer_init' hook can be used for that.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic