Procmail + mysql

software development

#1

Could anyone tell me how I can add information to a mysql db from emails?

An example in pseudocode follows:

if ($from == info@domain.com) {

<add “subject, content” to mysql db>

}

Alternatively, using a catch all address:

<add $to, $from, $subject, $content> for all emails