Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8819373
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T05:20:32+00:00 2026-06-14T05:20:32+00:00

I have an application built with CodeIgniter and hosted with a shared hosting provider.

  • 0

I have an application built with CodeIgniter and hosted with a shared hosting provider.

My MX records point to Gmail servers and my app can send emails using Gmail with the standard CodeIgniter e-mail methods.

Now I want to send some transactional mails using SendGrid or Amazon SES. But that does not work and apparently the reason is that my hosting provider does not allow SMTP relaying.

I am thinking of using SendGrid APIs and cURL but I am not sure how well they will work with the CI methods that I am familiar with.

Preferably I would not want to change the MX records that are pointing to Gmail that handles the regular mails for our company.

Given the constraints, is there anything that can be done to send e-mails using SendGrid or Amazon SES?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T05:20:34+00:00Added an answer on June 14, 2026 at 5:20 am

    You should use the SendGrid web API to send emails. If you’re ISP is blocking email, then your best bet is to switch to HTTP. It’s a pretty simple switch since it takes all the same parameters. Check out the docs for more info:

    http://docs.sendgrid.com/documentation/api/web-api/mail/#send

    And I doubt it will work with the CI email library, but there’s no reason you can’t just use the SendGrid library:

    https://github.com/sendgrid/sendgrid-php


    Also, this CodeIgniter library sends SendGrid email via HTTP. Might be worth checking out.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a PHP web application built with CodeIgniter MVC framework. I wish to
I have a web application built with jQuery Mobile and PHP (CodeIgniter framework). Now
I'm developing a web based application built on codeigniter which will also have a
i have built application using codeigniter, my controller name is userReg , in controller
I'v built a application using codeigniter and I have a message system that displays
I've built a php/codeigniter app which worked perfectly when I hosted it with rackspace
I have an application built with PhoneGap , and I want to send it
I have an application built with codeigniter using the sessions class and storing session
I have an application built for iPhone 2.0 but I would like to use
I have an application built for 1.5 and I am adding higher resolution drawables

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.