• Resolved Zachary DuBois

    (@zachary-dubois)


    When sending email using the API with this plugin, newlines are not processed correctly and end up turning into one line. For example, sending the following:

    Some multi
    line text

    Yields
    Some multiline text

    Another issue is non-alphanumeric characters are parsed incorrectly as they are sent escaped. For example using a single quite, will cause a backslash to be sent in front of it.

    I also noticed some of the settings (From name) have the same issue.

    I have the default options setup on SendGrid’s side (Plain text to HTML conversion, Tracking opens and clicks, etc). I was testing emails sent using the form on the bottom of the settings page.

    https://www.ads-software.com/plugins/sendgrid-email-delivery-simplified/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Anonymous User 12640152

    (@anonymized-12640152)

    The issues will be fixed in the new version of the plugin. But the content-type settings are not pulled from the settings of your sendgrid account currently. They need to be specified in the headers (content-type:text/html).

    Anonymous User 12640152

    (@anonymized-12640152)

    Added to the new version of the plugin.

    Thread Starter Zachary DuBois

    (@zachary-dubois)

    I am running the new version now and the issues described above still exist.

    Thread Starter Zachary DuBois

    (@zachary-dubois)

    This is not resolved. Please do not mark it after I clearly stated it is not.

    Anonymous User 12640152

    (@anonymized-12640152)

    Can you give us a code sample on this? Are you using html content type?Thanks

    Thread Starter Zachary DuBois

    (@zachary-dubois)

    I am using a new installation of WordPress, even the default comment emails are not sent correctly. The issue is new lines aren’t being handled correctly, content type for plain text only email is incorrect, and special characters are not correctly handled leading to backslashes, etc being displayed. Examples in the first post.

    Anonymous User 12640152

    (@anonymized-12640152)

    Hello Zachary,

    Please take a look here (a depth look into your issue) :

    https://support.sendgrid.com/hc/en-us/articles/200181418-Plain-text-emails-converted-to-HTML

    Thank you,
    SendGrid

    Thread Starter Zachary DuBois

    (@zachary-dubois)

    That fixed the new line issue, however not the apostrophe/single quote issue in the from name.

    Example

    Anonymous User 12640152

    (@anonymized-12640152)

    Hello,

    In the next release this issue will be resolved.

    Thank you,
    SendGrid

    Anonymous User 12640152

    (@anonymized-12640152)

    Hi Zachary, we have fixed in the new version 1.7.6 the apostrophe/single quote issue in the from name.Thanks!

    Thread Starter Zachary DuBois

    (@zachary-dubois)

    Awesome ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Issues with special characters and newlines.’ is closed to new replies.