You can run a polling daemon that uses Net::SMTP and Net::POP and the like to poll the remote server and download the emails, parse them up. Is that what you mean?<br><br>On a unix system you can often set up a .forward file consisting of '|<a href="http://program.pl">program.pl</a>' that will cause the delivery agent to launch the program and pipe the email message to it, but it doesn't sound ike you have the ability to be a program on the mail server. That being the case a remote polling is more in order.<br>
<br>Skylos<br><br><div class="gmail_quote">On Tue, Mar 2, 2010 at 4:38 PM, Phil Mitchell <span dir="ltr"><<a href="mailto:phil@2people.org">phil@2people.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>For my perl/catalyst web app, Bikewise.org, we want to automate the process of receiving updates from users via email. IOW, user sends email to <a href="mailto:update@bikewise.org" target="_blank">update@bikewise.org</a> and we parse the contents and update the database accordingly. </div>
<div><br></div><div>As I sat down to think this through, I realized I have no idea how this is done. The app is hosted on a virtual server, and relies on a separate mail server that's run by my hosting provider. Do I need access to the raw mail files on the server? Is there a standard way to set this up?</div>
<br><font color="#888888">-- <br>Bikewise: <a href="http://www.bikewise.org" target="_blank">http://www.bikewise.org</a><br><br>
</font><br>_____________________________________________________________<br>
Seattle Perl Users Group Mailing List<br>
POST TO: <a href="mailto:spug-list@pm.org">spug-list@pm.org</a><br>
SUBSCRIPTION: <a href="http://mail.pm.org/mailman/listinfo/spug-list" target="_blank">http://mail.pm.org/mailman/listinfo/spug-list</a><br>
MEETINGS: 3rd Tuesdays<br>
WEB PAGE: <a href="http://seattleperl.org/" target="_blank">http://seattleperl.org/</a><br></blockquote></div><br><br clear="all"><br>-- <br>"If only I could get rid of hunger by rubbing my belly" - Diogenes<br>