Respected sir/madam,
In My Application, users can send me an email with some keyword 'XXXX' to our mail server 'XXXX@xxxxx.com'.i am using imap_open() and other imap functions to read that email and auto respond the email.
My Issue is, i am receiving some email with country code as email id(say <country code><phonenumber>@<carrier.com> and some without country code as email id <numberphonenumber>@<carrier.com>
Is there any way to match <country code> using Phone Number.I thought to implement this concept.but i don't think its 100% perfect
if phone number start with '9',i will attach indian country code as 91(bcz indian mobile numbers usually start with 9)
if phone number start with '2',i will attach US country code as 1.
i want to make sure,if there any other way to resolve my siiue or can i proceed with my current implementation.
Thanxs for suggesting some ideas.
Yours Respectively,
A.Suresh Kumar