Jessica Posted January 20, 2007 Share Posted January 20, 2007 Does anyone know what you have to do to get mail() to work on mt's (gs)?I have contacted them but their support is slow. Quote Link to comment Share on other sites More sharing options...
ShogunWarrior Posted January 20, 2007 Share Posted January 20, 2007 Is it only a recent problem, because I used mail() on GS fine.Are there any errors being spit out? Quote Link to comment Share on other sites More sharing options...
Jessica Posted January 20, 2007 Author Share Posted January 20, 2007 no, it returns true, but the mail isn't actually being sent. Did you have to configure anything? Quote Link to comment Share on other sites More sharing options...
ShogunWarrior Posted January 20, 2007 Share Posted January 20, 2007 No actually, the mail code was unchanged between localhost and (mt).Here's exactly my mail code which worked when I last ran it a month ago (emails changed):$mailres = @ mail("user@gmail.com",'Subject','Content','From: "Shogun" <thegreatcannedham@gmail.com>');I know it is patronizingly obvious but maybe the problem is the From tag or something. Quote Link to comment Share on other sites More sharing options...
Jessica Posted January 20, 2007 Author Share Posted January 20, 2007 I'll try again. I did a simple test one to make sure, because my more complex code didn't work. Here is what I have:[code]<?print mail('jessica@grady.us', 'test', 'test', 'From: "Jessica" <jessica@jesirose.com>').'<br />';print mail('jessica@grady.us', 'test', 'test');?>[/code]And I get11So the mail was accepted...it's just not being delivered. Their support has a topic on mail in RoR, but nothing for PHP. *pout* Quote Link to comment Share on other sites More sharing options...
ShogunWarrior Posted January 20, 2007 Share Posted January 20, 2007 Hmm, I'm not on (mt) now so I can't test it. If that is the case then it's probably an (mt) problem, and you'll have to suffer their support :( Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.