Welcome, Guest. Please Login or Register.
April 28, 2025, 05:46:15 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  email questions number 2 « previous next »
Pages: [1] Reply Ignore Print
Author Topic: email questions number 2  (Read 506 times)
Fermious
Noobie
*
Posts: 16


I'm a llama!

email questions number 2
« on: January 10, 2002, 12:38:40 AM »
Reply with quote

ok..quick question..to call up a mial function in PHP you use the mail() function..but why are you guys writing in sendmail instead of mail?  cuz i think that when u type in sendmail instead of mail, it makes it incompatible with some systems (mine for example)

i have ran into this problem often with many php scripts available on the net such at this once, phpnuke, postnuke, VBB, and many many more. and my php.ini is well configured, because when i run a test script, i get my email in my mailbox.
Logged
Fermious
Noobie
*
Posts: 16


I'm a llama!

Re:email questions number 2
« Reply #1 on: January 10, 2002, 12:43:53 AM »
Reply with quote

oh yeah..here is the code that i use to test my php's mailing capabilites:

<?php
mail("[email protected]", "the subject", $message,
"From: webmaster@$SERVER_NAME\r\n"
."Reply-To: webmaster@$SERVER_NAME\r\n"
."X-Mailer: PHP/" . phpversion());
?>
Logged
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:email questions number 2
« Reply #2 on: January 10, 2002, 01:22:01 PM »
Reply with quote

sendmail is just a function that we have in Subs.php.  If you look at it, it is calling mail().  The reason this was done is that Y1G had both sendmail and SMTP mail and both were called with this function.  In SE, we haven't added SMTP support yet.

So it shouldn't have any affect on your email since it is still calling the mail() function to send the mail.
Logged

Savageman
Noobie
*
Posts: 35


Not a llama!

Re:email questions number 2
« Reply #3 on: January 10, 2002, 11:49:31 PM »
Reply with quote

were u running windows, cause if your php.ini is correct, then check out the otherpost you started:
http://www.yabb.info/community/index.php?board=140;action=display;threadid=3826;start=15
and see my last post, i had the same problem with the mail in windows, and i changed the code to get it to work.  good luck!!
Logged
Fermious
Noobie
*
Posts: 16


I'm a llama!

Re:email questions number 2
« Reply #4 on: January 10, 2002, 11:50:40 PM »
Reply with quote

Quote from: Savageman on January 10, 2002, 11:49:31 PMwere u running windows, cause if your php.ini is correct, then check out the otherpost you started:
http://www.yabb.info/community/index.php?board=140;action=display;threadid=3826;start=15
and see my last post, i had the same problem with the mail in windows, and i changed the code to get it to work.  good luck!!

yeah i know..i started that thread also if you check the first page..lol
i tried that..don't work.
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  email questions number 2 « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.242 seconds with 21 queries.