Re: [Dbmail] DBMail insert email via SQL?

2012-06-24 Thread Paul J Stevens
On 06/22/2012 11:25 PM, James Cloos wrote: I haven't looked to see whether this changed at all with dbmail3, but with dbmail2, at least, you can directly use dbmail-smtp to inject mail. Call it like: dbmail-smtp -u $USER -M $MAILBOX $MESSAGE to insert the mail stored in file

Re: [Dbmail] DBMail insert email via SQL?

2012-06-22 Thread Jorge Bastos
We have a CRM package that emails on behalf of our users, who are using DBMail (3.x) and IMAP for their email. I know its SQL so i know its techincally possible, but is there a correct way todo this? if so, pointers would be really appreciated thanks! Why not just SMTP it?

Re: [Dbmail] DBMail insert email via SQL?

2012-06-22 Thread Simon
On 22/06/2012, at 10:19 PM, Reindl Harald wrote: Am 22.06.2012 07:47, schrieb Simon: Hi There, We have a CRM package that emails on behalf of our users, who are using DBMail (3.x) and IMAP for their email. I know its SQL so i know its techincally possible, but is there a correct way

Re: [Dbmail] DBMail insert email via SQL?

2012-06-22 Thread Reindl Harald
Am 22.06.2012 22:17, schrieb Simon: On 22/06/2012, at 10:19 PM, Reindl Harald wrote: do not do this you would need to behave EXACTLY like internel dbmail-code and be aware of any internal changes / bugfixes and so on this is why SMTP as generic protocol exists the MTP is for Mail

Re: [Dbmail] DBMail insert email via SQL?

2012-06-22 Thread James Cloos
I haven't looked to see whether this changed at all with dbmail3, but with dbmail2, at least, you can directly use dbmail-smtp to inject mail. Call it like: dbmail-smtp -u $USER -M $MAILBOX $MESSAGE to insert the mail stored in file $MESSAGE into ${USER}'s mailbox $MAILBOX. Cf dbmail-smtp

[Dbmail] DBMail insert email via SQL?

2012-06-21 Thread Simon
Hi There, We have a CRM package that emails on behalf of our users, who are using DBMail (3.x) and IMAP for their email. I know its SQL so i know its techincally possible, but is there a correct way todo this? if so, pointers would be really appreciated thanks! Thanks! Simon