Shiva_Kumar
asked on
php script to handle automated email reply from application.
Hello Experts,
Here's my scenario:
I have a php form which sends email to application which inturn replies back with an automated email. This automated email will include a ticket number.
Now what I want to do is to have the ticket number picked up from the automated email and send another email with the ticket number as the subject line.
Please guide me how this can be achieved.
NOTE: The automated email will be sent to the person whose email address is specified in the php form. I am phpmailer to send email in my form.
Thanks
Here's my scenario:
I have a php form which sends email to application which inturn replies back with an automated email. This automated email will include a ticket number.
Now what I want to do is to have the ticket number picked up from the automated email and send another email with the ticket number as the subject line.
Please guide me how this can be achieved.
NOTE: The automated email will be sent to the person whose email address is specified in the php form. I am phpmailer to send email in my form.
Thanks
ASKER
Hi,
Thank for your response. the instructions which u gave me is a bit confusing to me. Could you please elaborate on how to achive this step by step.
Please forgive my ignorance.
Thanks
Thank for your response. the instructions which u gave me is a bit confusing to me. Could you please elaborate on how to achive this step by step.
Please forgive my ignorance.
Thanks
First determine if the emails will be got using POP or IMAP? then we can continue ok?
ASKER
Its going to be POP
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.evolt.org/article/Incoming_Mail_and_PHP/18/27914/index.html
http://www.derickrethans.nl/parsing_mail_with_php.php
http://www.phpclasses.org/browse/file/8924.html
So you want to parse the email subject and body, those are good links.