Fermious
Noobie

Posts: 16

I'm a llama!
|
 |
Email problems
« on: January 08, 2002, 08:45:48 PM » |
|
Hello all! GREAT job on this awesome YaBB port! I just love it!! I was looking for a good PHP and mySQL board, but i couldn't find a good one that i liked, since i'm so used to YaBB ..and now this is yabb with the features i want!! anyhoo...about the email problems bug (or maybe not a bug) if you go to my test board (i test everything before i actually use) at http://www.dna4141.com/html/board2 and sign up, you won' tget an email at all for ur password or anything. if i go into the admin section and email my members, nobody gets their emails. so i am having trouble with the email systems..can anyone please help me out? thanks!
|
|
|
Logged
|
|
|
|
|
Fermious
Noobie

Posts: 16

I'm a llama!
|
 |
Re:Email problems
« Reply #2 on: January 08, 2002, 09:09:05 PM » |
|
i know ..that's what i thought too..go here to see my php info: http://www.dna4141.com/html/phpinfo.phptell me if there is something wrong. thanks.
|
|
|
Logged
|
|
|
|
|
|
|
Fermious
Noobie

Posts: 16

I'm a llama!
|
 |
Re:Email problems
« Reply #6 on: January 08, 2002, 09:24:55 PM » |
|
ok..the link to see my php configuration file is working..so can somebody that is familiar with this type of stuff go here: http://www.dna4141.com/html/phpinfo.phpand tell me if they see something wrong in the config. thanks
|
|
|
Logged
|
|
|
|
|
|
Fermious
Noobie

Posts: 16

I'm a llama!
|
 |
Re:Email problems
« Reply #9 on: January 08, 2002, 09:51:14 PM » |
|
umm..no..ur wrong about that..cuz its not a *nix system..its a WinNT system..therefore only the smtp is needed, and it should use the smtp if i create this small php script and run it: <?php mail(" [email protected]", "the subject", $message, "From: webmaster@$SERVER_NAME\r\n" ."Reply-To: webmaster@$SERVER_NAME\r\n" ."X-Mailer: PHP/" . phpversion()); ?> i will receive it..so i conclude that the mailing part of my php.ini is fine. it could still be my php.ini file, but not the mail section..or it could be a piece in your code that makes it incompatible with some server software. anyhoo, thanks for trying.
|
|
|
Logged
|
|
|
|
|
|
|
Savageman
Noobie

Posts: 35

Not a llama!
|
 |
Re:Email problems
« Reply #13 on: January 08, 2002, 10:14:42 PM » |
|
i may have solved our problem!! i edited the code in subs.php to be
function sendmail($to,$subject,$message,$from) {
global $mailtype,$webmaster_email; mail($to,$subject,$message,"From: $from\r\n"); }
and it worked beautifily. i guess you could leave the if statement, but i looked where the other pages call the fxn and there is a $from, so it would not be null. i think the problem was returning something. w00t! im learning php through a crash course of fixing the board!
|
|
|
Logged
|
|
|
|
|