[CentOS] Receive, process and send email
Les Mikesell
lesmikesell at gmail.comSun Sep 20 20:19:09 UTC 2009
- Previous message: [CentOS] Receive, process and send email
- Next message: [CentOS] Receive, process and send email
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
CSB wrote: > We wish to do the following: > 1. receive an email with an attachment > 2. process the email body to get some information from it > 3. send an outbound email to an email address based on the information > derived from step 2. The email will include the attachment received in step > 1 > > I'm not sure where to start with this one so any suggestions would be > appreciated. Directing received email to a program can be done either with a sendmail alias that pipes to a program or a procmail recipe, depending on whether the address is a real system user or not. If you want to program in perl, look at MIME::tools to parse the inbound copy's body and attachments and perhaps Mail::Sender to reassemble and re-send. -- Les Mikesell lesmikesell at gmail.com
- Previous message: [CentOS] Receive, process and send email
- Next message: [CentOS] Receive, process and send email
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list