I haven't tried the HTTP interface but I presume that using the HttpSocket class would be the way to go.
http://book.cakephp.org/2.0/en/core-utility-libraries/httpsocket.html You can render the view into a variable. On Fri, Jun 14, 2013 at 7:10 AM, Henrik Gemal <[email protected]>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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/cake-php. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
