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] Building 3.0 source on Ubuntu 12.04LTS

2012-06-22 Thread Paul J Stevens
Try this: sed -i -e 's/gmime-2.4/gmime-2.6' -e 's/2.4.6/2.6.0/' acinclude.m4 autoreconf -i On 06/21/2012 07:18 PM, Bill Harris wrote: Trying to run configure, and have resolved most issues, but there is a dependency that's giving me some trouble.. Apparently with 12.04, the libgmime is

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