email method in PHP
Posted: Tue Mar 23, 2010 6:47 pm
Hello,
I'm working at an online tutoring education non-profit where we send out text messages to our tutors whenever a student has requested a tutoring session. Essentially, whenever a student requests a session, I query the database for whoever is scheduled to teach during that time block and I send them a text message but as an email, to their phone.
the email address is based on the carrier in question. For att it is <tutorphonenumber>@txt.att.net. For tmobile is <tutorphonenumber>@tmomail.net. Etc. etc.
So this is the email that I use in the email method(), but I am running into issues where tutors aren't receiving their text messages until sometimes hours after a session has been requested. But it is random. Occasionally all text messages will be received in a timely manner. There are anywhere between 20-80 emails sent out to tutors' phones at any given time.
Is this an issue with the webhost not allowing these emails to go through? Or is it most likely the cell phone providers who are capping the rate at which these are received by our tutors. And does anyone know of any solutions to this problem?
Thanks a lot.
I'm working at an online tutoring education non-profit where we send out text messages to our tutors whenever a student has requested a tutoring session. Essentially, whenever a student requests a session, I query the database for whoever is scheduled to teach during that time block and I send them a text message but as an email, to their phone.
the email address is based on the carrier in question. For att it is <tutorphonenumber>@txt.att.net. For tmobile is <tutorphonenumber>@tmomail.net. Etc. etc.
So this is the email that I use in the email method(), but I am running into issues where tutors aren't receiving their text messages until sometimes hours after a session has been requested. But it is random. Occasionally all text messages will be received in a timely manner. There are anywhere between 20-80 emails sent out to tutors' phones at any given time.
Is this an issue with the webhost not allowing these emails to go through? Or is it most likely the cell phone providers who are capping the rate at which these are received by our tutors. And does anyone know of any solutions to this problem?
Thanks a lot.