Verbose Sending Plugin, log to db

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
Blade McKain
Forum Newbie
Posts: 1
Joined: Thu Jul 10, 2008 3:15 am

Verbose Sending Plugin, log to db

Post by Blade McKain »

Hi all
it is possibile do not show the "log message" that Verbose Sending Plugin generate but put it into a database?
How?

thx a lot
dillion
Forum Commoner
Posts: 56
Joined: Thu Feb 15, 2007 8:32 am

Re: Verbose Sending Plugin, log to db

Post by dillion »

Why not use the Swift's logging system - Linky

This is what I use for my application so every email that is sent is logged in the database. I also have verbose plugin enabled but only in debug mode.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Verbose Sending Plugin, log to db

Post by Chris Corbyn »

Blade McKain wrote:Hi all
it is possibile do not show the "log message" that Verbose Sending Plugin generate but put it into a database?
How?

thx a lot
Yes it is. Read the bottom of the following page, and instead of echoing something in your custom view, just store it in the DB. Semantically it's wrong, but in practice it works. In version 4 I've changed the naming so semantically doing such a thing makes sense.
Post Reply