| | |||||
| ||||||||
| The Break Room Casual discussion about non-industry related topics. |
![]() | NamePros Account Upgrade | Forum Sponsorship |
| Take advantage of our upgraded membership levels (2 levels to choose from) so you can have MORE active sales threads, Custom Titles, A Directory Listing, Invisible Mode, Message Tracking, And MORE! | ||
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| New Member Join Date: Jul 2004 Location: Miami, Florda
Posts: 23
![]() | Annoying, but why? Ive been a php programer for 3 years now, and one of the things that really upsets me is the mail feature. I have built a few sites, and every single one of them requires a email being sent to the users address so that they can verify their account. I have tried many different method's to send emails to users, but there is always that one that doesnt recieve their email. Has anyone out there rather then me run into this problem as well? ????: NamePros.com http://www.namepros.com/the-break-room/41465-annoying-but-why.html Is there a solution to this problem? Here is what ive been using. They seem to work fine except for the bottom one, that one seems to be broken, but ive never modified it. Each time a user signs up, both of these functions are called, just incase one doesnt work. What are some codes you guys use to email your users, and do you get any problems emailing them? function mail1 ($subject, $message, $email){ mail("$email", "$subject", $message, "From: WH Entertainment <noreply@pimpkane.com>\n" ."Reply-To: noreply@pimpkane.com\r\n" ."X-Mailer: PHP/" . phpversion()); } function mail2 ($subject, $message, $email){ $MP = "/usr/sbin/sendmail -t"; $fd = popen($MP,"w"); fputs($fd, "To: $email\n"); fputs($fd, "From: WH Entertainment <noreply@riseofchaos.com>\n"); fputs($fd, "Subject: $subject\n"); fputs($fd, "X-Mailer: PHP4\n"); fputs($fd, $message); pclose($fd); }
__________________ Wanna buy a game source code? Just PM me. Dopewars Clone - 3 copies left Kings of Chaos V2 Clone - 4 copies left and Rise of Chaos - 1 copy left Pimpgame V6 Clone - 3 copies left (based on pimpwar)
Last edited by WorldHatred; 08-01-2004 at 04:08 PM.
|
| |
| | #2 (permalink) |
| NamePros Expert Join Date: Nov 2003 Location: Scotland
Posts: 5,074
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | i presume the problem you are having are ussually for windows users, I remember there is a problem with the way outlook express deals with headers but cant remember exactly what it was (was something to do with a space being needed between \n or something like that) Also try and find the Spam Assassin rule list, it could be something silly that is covered in that (be warned tho there are thousands of rules)
__________________ Manage your portfolio using my new Domain Portfolio Management script. Securing Your Domain Name From Theft |
| |