Skip to content

Commit

Permalink
Minor cleanup of the example, and updated the CHANGELOG to reflect la…
Browse files Browse the repository at this point in the history
…st set of revs in 1.2.
  • Loading branch information
captbrando committed Jan 6, 2012
1 parent 1fa74fd commit 27240cc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG
@@ -1,5 +1,11 @@
Change Log. Change Log.


v1.2 - pgMail now properly sends UTF-8 encoded emails. Thanks to
Balazs Keresztury for the patch! (me)
- Fixed an issue whereby some servers would reject emails due to
"Improper use of SMTP command pipelining." Now resolved. (me)
- Updated to use the Apache 2.0 license. (me)

v1.1 - Added regular expression support to allow to/from fields to v1.1 - Added regular expression support to allow to/from fields to
either contain the name and email, or simply the email address. (me) either contain the name and email, or simply the email address. (me)
- Removed my mailserver from the stored proc. you must enter your - Removed my mailserver from the stored proc. you must enter your
Expand Down
2 changes: 1 addition & 1 deletion example.setup.sql
Expand Up @@ -15,7 +15,7 @@ BEGIN
if customerRec.paystatus = ''y'' then if customerRec.paystatus = ''y'' then
textMessage := ''Thank you for paying your bill. How sweet of you. textMessage := ''Thank you for paying your bill. How sweet of you.
I love cake. Dont you?''; I love cake. Dont you?'';
perform pgmail(''Order System<os@fart.com>'',customerRec.email,''You paid. How nice.'', textMessage); perform pgmail(''Order System<os@store.com>'',customerRec.email,''You paid. How nice.'', textMessage);
end if; end if;
return NEW; return NEW;
END;' language 'plpgsql'; END;' language 'plpgsql';
Expand Down

0 comments on commit 27240cc

Please sign in to comment.