cake-php
[Arriba] [Todas las Listas]

Re: Envío email utilizando HTTP fx sendgrid

To: cake-php@xxxxxxxxxxxxxxxx
Subject: Re: Envío email utilizando HTTP fx sendgrid
From: lowpass <zijn.digital@xxxxxxxxx>
Date: Fri, 14 Jun 2013 20:52:29 -0400
Delivery-date: Fri, 14 Jun 2013 20:52:39 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=x-beenthere:mime-version:in-reply-to:references:date:message-id :subject:from:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-google-group-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=cLSL8KkzfgEJBtHeXrp10cA5IV1BBcSvJJJBavS+RvY=; b=ebZFQz3wzRzgQtWqELP8Q5GyC2xo6iOeM9kZuD5tJiRQ53rYiKsvRjmlP6tf4jl7// ZHp9zQZuFanChG3oaWMHnxS4t88qLxrivI1QgHLRJ8QUqczglqfRAH273bYhLU95Pu/h aaD2B8TZkTyRagyfOOE2YKJs5UKnvhcxp3Ii6xelug4KxFfAIvD0ob4RCMd7LpWa5OvF uS6srBWgTzUnHwnWzjsnb5dvo0UPi0PbFuTmhf5yZSNw9IC8WijmMSqk/ZuCg7kdFUNv tFPUqQNm5442Be2GXmHKVNhLfoMV/9bzXLLkCnTRarVpqJRC1qY0h+81Vjl1M/CMPn/r Yygw==
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-beenthere:mime-version:in-reply-to:references:date:message-id :subject:from:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-google-group-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=cLSL8KkzfgEJBtHeXrp10cA5IV1BBcSvJJJBavS+RvY=; b=AYNwH/1Nml0/CAbTM54Rpn88yGcSg4OCURW5S8w5C8ZOCMAfkKfPitIorZsuUVZbNz BG5UryTmTdUzsSkxlz9JBXWdjHPTKXsp3yHO5lMj5Wrv06kXNv/jyo4lkt+OajoMSPr2 sFqtYbyzGglL0NbPLZqlC7fGwLypd/JtAJUSKd2RyXwwZ/Hv5E73ucR0NgEWtG/RmnRI eGwqgigRG3DNgYuy+Xoy53Q3G4/uEeEPwuykosGg4PGKf/TlCnlWSXgSHHA5SUNB++1M a5mNTtE5lnhip//ccTTVpyhmq5KdvOBPYoSCk907qo+BwbXJ/bBPiv93BmPR1M32DujD BbnA==
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <552b5b0e-ea3e-44f0-9684-976abee30884@googlegroups.com>
List-archive: <http://groups.google.com/group/cake-php>
List-help: <http://groups.google.com/support/>, <mailto:cake-php+help@googlegroups.com>
List-id: <cake-php.googlegroups.com>
List-post: <http://groups.google.com/group/cake-php/post>, <mailto:cake-php@googlegroups.com>
List-subscribe: <http://groups.google.com/group/cake-php/subscribe>, <mailto:cake-php+subscribe@googlegroups.com>
List-unsubscribe: <http://groups.google.com/group/cake-php/subscribe>, <mailto:googlegroups-manage+1003367825667+unsubscribe@googlegroups.com>
Mailing-list: list cake-php@xxxxxxxxxxxxxxxx; contact cake-php+owners@xxxxxxxxxxxxxxxx
References: <552b5b0e-ea3e-44f0-9684-976abee30884@googlegroups.com>
Reply-to: cake-php@xxxxxxxxxxxxxxxx
Sender: cake-php@xxxxxxxxxxxxxxxx
No he probado el *HTTP interfaz pero yo *presume que utilizando el *HttpSocket
la clase sería la manera de ir.

*http://Libro.*cakephp.*org/2.0/*en/núcleo-utilidad-bibliotecas/*httpsocket.*html

Puedes *render la vista a una variable.


En *Fri, *Jun 14, 2013 en 7:10 AM, *Henrik *Gemal <gemal@xxxxxxxxxxxxxxxxx>escribió:

> *Hi
>
> utilizamos más tardíos *CakePHP 2.3.6
>
> estamos enviando *emails utilizando SMTP a *sendgrid. La configuración es realmente
> fácil en *CakePHP
>
> Ahora estamos mirando a cambiar a utilizar *SendGrids *HTTP interfaz para
> enviar *email, desde entonces es mucho más rápido que SMTP.
>
> Cómo  implementamos esto en *CakePHP?
>
> *Fx Cómo  conseguimos el *email el cuerpo que utiliza una plantilla atrás en "texto" crudo para
> proporcionarlo a *SendGrid API?
>
> Es la solución unos Transportes de costumbre ?
>
> --
> Gustarnos en *FaceBook *https://www.facebook.com/*CakePHP
> nos Encuentra en *Twitter *http://*twitter.*com/*CakePHP
>
> ---
> Recibiste este mensaje porque eres *subscribed al *Google Grupos
> "*CakePHP" grupo.
> A *unsubscribe de este grupo y la parón que recibe *emails de él, enviar un
> *email a pastel-*php+unsubscribe@xxxxxxxxxxxxxxxx.
> A correo a este grupo, envía *email a pastel-php@xxxxxxxxxxxxxxxx.
> Visita este grupo en *http://grupos.*google.*com/Pastel/de grupo-*php.
> Para más opciones, visita *https://grupos.*google.*com/Los Grupos/optan_fuera.
>
>
>

-- 
Gustarnos en *FaceBook *https://www.facebook.com/*CakePHP
nos Encuentra en *Twitter *http://*twitter.*com/*CakePHP

--- 
Recibiste este mensaje porque eres *subscribed al *Google Grupos "*CakePHP" grupo.
A *unsubscribe de este grupo y la parón que recibe *emails de él, enviar un *email a pastel-*php+unsubscribe@xxxxxxxxxxxxxxxx.
A correo a este grupo, envía *email a pastel-php@xxxxxxxxxxxxxxxx.
Visita este grupo en *http://grupos.*google.*com/Pastel/de grupo-*php.
Para más opciones, visita *https://grupos.*google.*com/Los Grupos/optan_fuera.


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 <gemal@xxxxxxxxxxxxxxxxx>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@xxxxxxxxxxxxxxxx.
> To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx.
> 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 cake-php+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


<Anterior por Tema] Tema Actual [Siguiente por Tema>