Jump to content

mail() on MT's (gs)?


Jessica

Recommended Posts

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("[email protected]",'Subject','Content','From: "Shogun" <[email protected]>');

I know it is patronizingly obvious but maybe the problem is the From tag or something.
Link to comment
https://forums.phpfreaks.com/topic/34946-mail-on-mts-gs/#findComment-164799
Share on other sites

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('[email protected]', 'test', 'test', 'From: "Jessica" <[email protected]>').'<br />';
print mail('[email protected]', 'test', 'test');
?>[/code]

And I get
1
1

So the mail was accepted...it's just not being delivered. Their support has a topic on mail in RoR, but nothing for PHP. *pout*
Link to comment
https://forums.phpfreaks.com/topic/34946-mail-on-mts-gs/#findComment-164803
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.