Auto-junk folder? What?!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Mightywayne
Forum Contributor
Posts: 237
Joined: Sat Dec 09, 2006 6:46 am

Auto-junk folder? What?!

Post by Mightywayne »

Okay, so I just got my game's dedicated server going. And of course, after massive amounts of problems, I've got one small, small issue.

The mail - it sends great. Goes right out...

Right into the junk folder! First off, MY personal email from my stupid domain wouldn't even receive the mail, but that's besides the point here.

Right here is my sample text that I give when people get the email. I'm only showing you because I have a feeling that emails just *assume* I'm a spammer cuz I guess I sound like one. I'm also giving the $subject stuff just incase I'm accidently sending it wrong. (who knows)

Code: Select all

$subject = "MonBre Registration Confirmation";
$message = "Alright, $username, you're almost done!\n\nNow all you've gotta do is go to http://monbre.burnttoastonline.com/veri ... fy=$conkey and you're in!
\n\n Congratulations and welcome to Monbre. \n\n
(if you feel you were given this email by accident, just ignore it and the request \n\n
will be deleted within 24 hours)";
$message = wordwrap($message, 90);
$from = "noreply@monbre.com";
$headers = "From: $from";
mail($email,$subject,$message,$headers);
Last edited by Mightywayne on Fri Aug 03, 2007 5:33 pm, edited 1 time in total.
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

i dont think you can do games with php

Post by yacahuma »

I dont think you can do games with php at least graphical ones. Well maybe with a lot of ajax experience. Even then will be pushing the limit.
User avatar
vigge89
Forum Regular
Posts: 875
Joined: Wed Jul 30, 2003 3:29 am
Location: Sweden

Re: i dont think you can do games with php

Post by vigge89 »

yacahuma wrote:I dont think you can do games with php at least graphical ones. Well maybe with a lot of ajax experience. Even then will be pushing the limit.
There's already plenty of PHP based games out on the web, and this if off-topic.
I've never dealt with registration emails so I'm afraid I can't give you any hints on the mail appearance to prevent them turning into junk =/
Mightywayne
Forum Contributor
Posts: 237
Joined: Sat Dec 09, 2006 6:46 am

Post by Mightywayne »

Thanks anyway, vigge. And lawl @ php not making games.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

Mightywayne
Forum Contributor
Posts: 237
Joined: Sat Dec 09, 2006 6:46 am

Post by Mightywayne »

This looks good, thank you, Super.
Post Reply