Title: Namespace
Last modified: August 30, 2016

---

# Namespace

 *  [rajneeshojha](https://wordpress.org/support/users/rajneeshojha/)
 * (@rajneeshojha)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/namespace/)
 * HI,
 * you should try to use namesapce for class as your class class.smtp.php is is 
   extending class SMTP,
 * i am using Sendgrid’s official plugin to replace wordpress mail with Sendgrid
   emails
    and your plugin is trying instantiate the sendgrid’s SMTP class as the
   sendgrid’s smtp class is also named SMTP and you plugin is failing sue to mismatch
   of funtion names which your plugin expects to be available but not available 
   due to it is actually usind sendgrid’s smtp class
 * [https://wordpress.org/plugins/mymail-sendgrid-integration/](https://wordpress.org/plugins/mymail-sendgrid-integration/)

The topic ‘Namespace’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mymail-sendgrid-integration_98d3ea.
   svg)
 * [MyMail SendGrid Integration](https://wordpress.org/plugins/mymail-sendgrid-integration/)
 * [Support Threads](https://wordpress.org/support/plugin/mymail-sendgrid-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/mymail-sendgrid-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mymail-sendgrid-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mymail-sendgrid-integration/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [rajneeshojha](https://wordpress.org/support/users/rajneeshojha/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/namespace/)
 * Status: not resolved