Page 1 of 1

Does swift mailer allow you to receive/parse emails as well?

Posted: Mon Jul 16, 2007 2:12 pm
by bitter_moon_1
i posted this on the ##php irc channel, and they suggested i use the imap package, which i googled, and found no easy answer.

Since I am such a big fan of swift, I was wondering whether there are any examples or tutorials ideally on how to do this. Basically we all know how easy it is to send email via swift. Is there a way to receive and parse an email?

For example: craigslist.org does this. When you post an ad, the email is anonymous (ex: anon-1@craigslist.org). The sender sends an email to this anonymous address, and the email gets forwarded to the poster's actual email address. This helps in keeping the posters' contact info private.

Is there an easy way to do this? Any tutorials available? And can swift help in any way?

Thanks!

Posted: Tue Jul 17, 2007 2:29 am
by Chris Corbyn
I agree with the irc guys.... use the IMAP functions. There are more "advanced" ways to do it, but that involves Linux server/SMTP server administration (i.e. it's part of the smtp server configuration).