TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 319
  • Total: 319

Subscribe block

Started by NoFeaR, August 10, 2010, 12:31:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

IchBin

I guess we can test something as well. Put this in a file called mail_test.php, and put the file in the root of your SMF folder. Inside the file paste this code:

<?php
    $email 
$_GET['email'];
    if(
mail($email'Mail test''If you received this then the test passed 12345éé&eacute;54321 123456789àèéìòùÈ987654321'))
echo 'We sent the email<br /><br />';
    else
echo 'We failed to send the email<br /><br />';
?>


Now open your browser and hit the file using a link like this:
http://www.yoursite.com/forum/mail_test.php?email=youremail@yoursite.com

This will send an email without forcing the header changes I had. If it works, then we know your server doesn't like something in our other code.

agent47

Wow this actually works. Just tested it out.... Pretty neat I have to say... You never fail to impress IchBin.... Good stuff
Keep up the great work

This website is proudly hosted on Crocweb Cloud Website Hosting.