Email - Php !

From: Date: Wed, 12 Jun 2002 16:56:01 +0000
Subject: Email - Php !
Groups: php.general 
Request: Send a blank email to php-general+get-101764@lists.php.net to get a copy of this message
I use the following php.ini config. Do I need to configure the sendmail seperatly to successfully send an email ? with Linux ? In my win32 os email works ok..but in the linux box nothing is sent.. ~~~~~~~~~~~~~~~~~~php.ini~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [mail function] ; For Win32 only. SMTP = gemini@herts.ac.uk ; For Win32 only. sendmail_from = admin@enter.org ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). sendmail_path =/usr/sbin/sendmail -t ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~code~~~~~~~~~~~~ <?php if (@mail( 'myname@domain.ac.uk', 'subject', 'kafrila opa ligo ' )) { echo " mail sent"; } else { echo " shit nothing sent"; } echo "<p>email test . . .</p>"; ?> ~~~~~~~~~~~~~~~~~~~~~~~~ Any idea ? Thanks in advance.. -- ~~~~~~~~~~~~~~~~ Sapilas@/dev/pinkeye ~~~~~~~~~~~~~~~~

« previous php.general (#101764) next »