Jump to content
Sign in to follow this  
IndianaGuy

email at text

Recommended Posts

This use to work but not anymore. Any ideas why? 

when I replace $to with a real email address. it works just fine!

	//xx.. is a 10 digit phone number. ATT says this should work!
	$to = xxxxxxxxxx@att.txt.net";
$subject = "My subject";
$txt = "Hello world!";
	mail($to,$subject,$txt);
	

 

Share this post


Link to post
Share on other sites

If I understand you correctly, YES. I sent myself an email to xxxxxxxxxx@att.txt.net from my gmail account and it came to the phone as a text message just as expected. Thank you for the help

Share this post


Link to post
Share on other sites

And you said that if you replace that email address in PHP with another one, you get the email?  If that's the case, then AT&T is probably blocking your email from PHP.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×