hi,
i am making a Email to SMS script and i have succesfully done it.
it work like, when someone send email to 771234@email2sms.com, the email is checked using IMAP and then SMS is sent to the mobile number and following email body is send to the mobile.
now the problem is, when someone send an email from a yahoo email account, the email is receiving with the yahoo email footer. and when the $body string is assigned to $smsmessage its taking the footer with it.
can anyone tell me a easyway to remove the yahoo/hotmail footer. i am only sending the first 140 charactors from the message body. and if the string in the email is short than 140 charactors, the $smsmessage is coming with a part of the yahoo/hotmail footer.
chao, xtravel
My Site:
i am making a Email to SMS script and i have succesfully done it.
it work like, when someone send email to 771234@email2sms.com, the email is checked using IMAP and then SMS is sent to the mobile number and following email body is send to the mobile.
now the problem is, when someone send an email from a yahoo email account, the email is receiving with the yahoo email footer. and when the $body string is assigned to $smsmessage its taking the footer with it.
Code:
$body = imap_body ($mbox,$i);
can anyone tell me a easyway to remove the yahoo/hotmail footer. i am only sending the first 140 charactors from the message body. and if the string in the email is short than 140 charactors, the $smsmessage is coming with a part of the yahoo/hotmail footer.
chao, xtravel
My Site: