Support » Plugin: Contact Form 7 » Apostrophes in form submissions

  • Resolved Sue

    (@suelaren)



    I just got an email from a client for whom I recently launched a redesigned website. We added the Contact Form 7 for a simple feedback form – Name, Email, Phone, Subject, Message… pretty basic. When the client receives a form submission, all the apostrophes are rendered as – why? And how do I fix it?

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    When the mail is composed as HTML mail, Contact Form 7 applies wptexturize() function to the mail content and it replaces some characters. If you don’t like it, uncheck “Use HTML content type” box.

    Setting Up Mail

    I should have said all the apostrophes render as the ascii code, ’ and when I uncheck the Use HTML content type, I lose the formatting of the generated email. Is there a way to keep the formatting (some type bolded, it just looks better and is easier to read) yet have it render correctly?

    When I send the form submission to myself, it renders the apostrophe both ways – I don’t see the code like the client sees. Yet client did not mention the formatting codes so apparently the email or browser is rendering SOME of the html… If it is the end users email program, is there a way around it?

    The client receives the email with the ascii code rather than the symbol; he sees & # 8217 ; (no spaces – however I try to type that out it shows the apostrophe!! Client sees ASCII code–how to get rid of that is my question. Sorry for the confusion!!

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    It means the client’s mailer can’t read HTML mail.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Apostrophes in form submissions’ is closed to new replies.