Title: SendGrid &#8211; Ajax issue &#8211; Error string in PostmanSendGridMailEngine.php
Last modified: August 30, 2016

---

# SendGrid – Ajax issue – Error string in PostmanSendGridMailEngine.php

 *  [philcareme](https://wordpress.org/support/users/philcareme/)
 * (@philcareme)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/sendgrid-ajax-issue-error-string-in-postmansendgridmailenginephp/)
 * Hello, I’ve decide to use a reliable SMTP with O2 Auth.
    Easy to setup with SendGrid.
   But when I start a send email test, I’ve recieve this error:
 * Unexpected PHP messages corrupted the Ajax response:
 *  <b>Parse error</b>: syntax error, unexpected T_STRING in <b>/A4N/ONLINE/WWW/
   be/gaspard/htdocs/www/wp-content/plugins/postman-smtp/Postman/Postman-Mail/PostmanSendGridMailEngine.
   php</b> on line <b>38</b>
 * Thank you for your help in this.
    Best regards Philippe
 * [https://wordpress.org/plugins/postman-smtp/](https://wordpress.org/plugins/postman-smtp/)

Viewing 1 replies (of 1 total)

 *  [boldwater](https://wordpress.org/support/users/boldwater/)
 * (@boldwater)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/sendgrid-ajax-issue-error-string-in-postmansendgridmailenginephp/#post-6888492)
 * I am experiencing the same error message when sending a test email with wp 4.4.1
   and latest Postman SMTP using SendGrid. Works on other sites, but this one has
   an old Theme and is on Godaddy hosting.
 * OS: Linux p3nlhg627.shr.prod.phx3.secureserver.net 2.6.32-604.30.3.lve1.3.63.
   el6.nfsfixes.x86_64 #1 SMP Mon Oct 26 11:56:49 MST 2015 x86_64
    PHP: Linux 5.2.17
   C PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=No, allow_url_fopen
   =Yes, mcrypt=Yes, zlib_encode=Yes WordPress: 4.4.1 en_US UTF-8 WordPress Theme:
   Chameleon WordPress Plugins: Gravity Forms, All In One SEO Pack, Geo Mashup, 
   Get Custom Field Values, Google Analytics by Yoast, Postman SMTP, Royal Responsive
   Menu, Smooth Slider, WP Lightbox 2 WordPress wp_mail Filter(s): wp_staticize_emoji_for_email
   Postman: 1.7.2 Postman Sender Domain (Envelope|Message): | MYDOMAINHERE.COM Postman
   Prevent Message Sender Override (Email|Name): No | No Postman Active Transport:
   SendGrid API ([https://api.sendgrid.com:443](https://api.sendgrid.com:443)) Postman
   Active Transport Status (Ready|Connected): Yes | Yes Postman Deliveries (Success
   |Fail): 10 | 0

Viewing 1 replies (of 1 total)

The topic ‘SendGrid – Ajax issue – Error string in PostmanSendGridMailEngine.php’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/postman-smtp_7c7b78.svg)
 * [Postman SMTP Mailer/Email Log](https://wordpress.org/plugins/postman-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/postman-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/postman-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/postman-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/postman-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/postman-smtp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [boldwater](https://wordpress.org/support/users/boldwater/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/sendgrid-ajax-issue-error-string-in-postmansendgridmailenginephp/#post-6888492)
 * Status: not resolved