parsing - Accept and parse information from email -


what accomplish user able send email designated email address. once email has been obtained, run script parses body section of email , carries out various tasks information provided in email (the data coming in email structured in xml type format).

in mind seems simple task accomplish i'm not familiar inner workings of email. questions are:

  1. how know once email has been obtained sender can processed?
  2. how can use php obtain text found in email?

i agree other responses, piping php application should first option (if mail server , php same)

otherwise if have external mail server need poll email address @ regular intervals , check new emails.

extracting plain text body email message not hard, getting attachments can pain sometimes.

you need use cronjob trigger script @ regular intervals

to fetch email server , parse it, have used php imap functions http://php.net/manual/en/book.imap.php

you can use 3rd party services mandrillapp receive message, break parts, , call application via webhook.

http://help.mandrill.com/entries/21699367-inbound-email-processing-overview


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -