Hi Christian,
I have an account with f2s.com that I use for sampling scripts with - I set
up a mailform yesterday after reading this, using mail() to send the email
to myself. It got here - albeit 6am today (I sent it yesterday
lunchtime) Perhaps you're using the mail() function
At 09:27 16/5/2001 +0100, James Holloway wrote:
Hi Christian,
I have an account with f2s.com that I use for sampling scripts with - I set
up a mailform yesterday after reading this, using mail() to send the email
to myself. It got here - albeit 6am today (I sent it yesterday
lunchtime)
At 20:32 14/5/2001 -0500, Ben Gollmer wrote:
If you have an account on a remote host, you can always do something like
this:
?php
include(http://www.remotehost.com/~myaccount/mailfunction.inc;);
mymail($to, $mailbody);
?
where mailfunction.inc has the mymail function defined
At 22:40 14/5/2001 -0700, Ethan Schroeder wrote:
I don't know how you can find sendmail on that system if you don't have
telnet access. Try writing a script that does an exec(which sendmail) and
see if it tells you. I doubt it will, though. Otherwise try different
sendmail locations:
My free-web-hosting (www.f2s.com) does not allow PHP to send emails... I've
tried everything... the mail() function, my alternate function which calls
popen(/usr/lib/sendmail -t) and even a script.cgi with '#!/usr/bin/php'
and all that stuff...
the mail simply won't go an mail() always
Find where there sendmail is and put this in an .htaccess file: php_value
sendmail_path '/path/to/sendmail -t'
Ethan Schroeder
- Original Message -
From: Christian Dechery [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 14, 2001 7:04 PM
Subject: [PHP] need some ideas here
On 14 May 2001 16:59:48 -0700, Christian Dechery [EMAIL PROTECTED] wrote:
My free-web-hosting (www.f2s.com) does not allow PHP to send emails... I've
tried everything... the mail() function, my alternate function which calls
popen(/usr/lib/sendmail -t) and even a script.cgi with
this in an .htaccess file: php_value
sendmail_path '/path/to/sendmail -t'
Ethan Schroeder
- Original Message -
From: Christian Dechery [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 14, 2001 7:04 PM
Subject: [PHP] need some ideas here...
My free-web-hosting (www.f2s.com) does not allow PHP
If you have an account on a remote host, you can always do something
like this:
?php
include(http://www.remotehost.com/~myaccount/mailfunction.inc;);
mymail($to, $mailbody);
?
where mailfunction.inc has the mymail function defined to just take your
parameters and stuff them
Schroeder
- Original Message -
From: Christian Dechery [EMAIL PROTECTED]
To: Ethan Schroeder [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, May 14, 2001 6:30 PM
Subject: Re: [PHP] need some ideas here...
what??? I didn't understand... how will I find out where sendmail is in a
free-web-host
On 14 May 2001 19:04:43 -0700, Ben Gollmer [EMAIL PROTECTED] wrote:
If you have an account on a remote host, you can always do something
like this:
?php
include(http://www.remotehost.com/~myaccount/mailfunction.inc;);
mymail($to, $mailbody);
?
where mailfunction.inc has
: Re: [PHP] need some ideas here...
I don't know how you can find sendmail on that system if you don't have
telnet access. Try writing a script that does an exec(which sendmail)
and
see if it tells you. I doubt it will, though. Otherwise try different
sendmail locations: /usr/sbin/sendmail
On Monday, May 14, 2001, at 10:00 PM, Chris Adams wrote:
On 14 May 2001 19:04:43 -0700, Ben Gollmer [EMAIL PROTECTED] wrote:
If you have an account on a remote host, you can always do something
like this:
?php
include(http://www.remotehost.com/~myaccount/mailfunction.inc;);
My free-web-hosting (www.f2s.com) does not allow PHP to send emails...
I've
tried everything... the mail() function, my alternate function which calls
popen(/usr/lib/sendmail -t) and even a script.cgi with '#!/usr/bin/php'
and all that stuff...
the mail simply won't go an mail() always
14 matches
Mail list logo