Saturday, June 15, 2013

Re: Sending email using HTTP fx sendgrid

Hi Henrik,

I would believe custom transports would be the most elegant solution though I haven't actually attempted to craft one.

If you do go down that route, would be great if you share the code :)


On Fri, Jun 14, 2013 at 7:10 PM, Henrik Gemal <gemal@dinnerbooking.com> wrote:
Hi

We use latest CakePHP 2.3.6

We are sending emails using SMTP to sendgrid. The configuration is really easy in CakePHP

Now we are looking into switching to using SendGrids HTTP interface for sending email, since it's a lot faster than SMTP.

How would we implement this in CakePHP?

Fx how would we get the email body using a template back in "raw" text to provide it to SendGrid API?

Is the solution a custom Transports ?

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Simon Males

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: