Parsing an email
Posted: Sun Jan 15, 2006 7:10 pm
Hi everybody,
I am grabbing emails from a pop3 mailbox and the body is in this format:
ive never parsed strings before with php. how would i go about plucking out the MSISDN and the operator?
I am grabbing emails from a pop3 mailbox and the body is in this format:
Code: Select all
subject: blah blah
Name: Andrew
Company: whatever
MSISDN: 12323232321
Email: acsXcz@whatever.com
Camera: yes
UseSMS: yes
SMSsent: yes
UseMMS: yes
MMSsent: yes
Ringtone: yes
Operator: Vodafone
Favourite: Dance
Question: when is th event?
Interactive: Yes
Timestamp: 13/01/2006 13:30