Re: Email notification pgAgent

From: Jasmin Dizdarevic <jasmin(dot)dizdarevic(at)gmail(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>, pgadmin-hackers(at)postgresql(dot)org
Subject: Re: Email notification pgAgent
Date: 2010-12-31 15:51:03
Message-ID: AANLkTimRTyF5yVR+o9obPF0Dz0uVovA1p+YknxWZp_ct@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

I've excepted the "no" ;-)

It would be great if somebody could take a look on it. Maybe it's just a
beginners mistake of mine.
The wxSMTP lib and a sample of mine is attached. The author of the lib said
it could be a problem with missing wxWidgets Event Loop.

But if running the sample (in wxSMTP-Solution) there is also an access
violation.

I used "Static Unicode Debug Monolithic DLL|Win32" configuration to build
wxSMTP.

Thanks.
Jasmin

2010/12/31 Dave Page <dpage(at)pgadmin(dot)org>

> On Fri, Dec 31, 2010 at 3:09 PM, Jasmin Dizdarevic
> <jasmin(dot)dizdarevic(at)gmail(dot)com> wrote:
> > Hi,
> > back to the main topic: Email notification.
> > This week I tried to use the wxSMTP library for the email notification
> > feature - without success. There are two versions of the lib. One will
> not
> > be supported in the future, the other is an alpha or beta. I hope this
> > extensions will be available as a contrib module for wx in the near
> future.
>
> :-(
>
> Whats the problem? Does it seem fixable?
>
> > I also couldn't find any other multi platform library, which is open
> source.
> > Do you know one?
>
> No, unfortunately not.
>
> > Another idea was to use a command line tool, which is available for *nix
> and
> > windows (http://caspian.dotconf.net/menu/Software/SendEmail/) and invoke
> it
> > via Exec in pgAgent.
> > Is this a practicable way for you?
>
> Not really. It's GPL licenced, which isn't compatible with ours. But
> exec'ing a third party app really isn't an architecture I want to
> support. Even exec'ing sendmail or "mail" doesn't seem like a nice
> option to me.
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>

Attachment Content-Type Size
SMTP.zip application/zip 3.5 KB
wxSMTP.zip application/zip 343.3 KB

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2011-01-01 08:50:23 Re: Email notification pgAgent
Previous Message Dave Page 2010-12-31 15:24:13 Re: Email notification pgAgent