Em 29 de janeiro de 2016 12:25, Carlos Antônio Pereira (VidaUTI) <
[email protected]> escreveu:

> Bom dia pessoal.
>
> Alguém pode me dizer se o  pgMail pode enviar um mesmo email para vários
> destinatários?
>
> Testei separando por ponto e virgura:
> select pgmail('remetente','destinatario1; destinatario2;','Teste
> PostgreSQl','Teste de envio de email PostgreSQL');
> mas não funcionou.
>

Bom dia!

Por acaso há algum erro no log do banco?

No servidor local, tu fizestes alguma configuração do servidor de email?
Pelo que vi na doc[1], isso é necessário, veja:

pgMail does not support SMTP Auth. Most of the folks that use it either set
> up a local mailserver on the database server for local queueing and then
> use that setup for any relaying required (with auth). Or, alternatively,
> there is usually a special rule made in the the /etc/mail/access (or
> equivalent) file to allow relaying from that IP used by the database
> server. Obviously, the latter option doesn't work with GMail.



[1] http://www.brandolabs.com/pgmail


-- 
Sebastian Webber
http://swebber.me
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a