Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: wxSMTP.zip
Description: application/zip (343.3 KB)
Attachment: SMTP.zip
Description: application/zip (3.5 KB)

In response to

Responses

pgadmin-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group