On 7/5/07, Tijnema [EMAIL PROTECTED] wrote:
he's running it on the web, as the CLI worked ;)
Yeah, I knew it was mentioned before, but I couldn't remember. I
think I have early-onset Alzheimer's.
--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107
--
PHP General
Chris a écrit :
Try this:
?
$email = [EMAIL PROTECTED];
$headers = From: .$email.\r\n;
$headers .= X-Mailer: PHP/.phpversion().\r\n;
if(mail([EMAIL PROTECTED],essai,test,$headers)) {
echo OK: .ini_get('sendmail_path');
} else {
echo NOK: .ini_get('sendmail_path');
}
?
Note
Same
web2 wrote:
Chris a écrit :
Try this:
?
$email = [EMAIL PROTECTED];
$headers = From: .$email.\r\n;
$headers .= X-Mailer: PHP/.phpversion().\r\n;
if(mail([EMAIL PROTECTED],essai,test,$headers)) {
echo OK: .ini_get('sendmail_path');
} else {
echo NOK: .ini_get('sendmail_path');
}
?
Daniel Brown a écrit :
On 7/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Daniel Brown a écrit :
On 7/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I've already checked :
- the mail logs : no mail send
- and the apache error and access logs : nothing except this :
192.168.0.1 - -
Try this:
?
$email = [EMAIL PROTECTED];
$headers = From: .$email.\r\n;
$headers .= X-Mailer: PHP/.phpversion().\r\n;
if(mail([EMAIL PROTECTED],essai,test,$headers)) {
echo OK: .ini_get('sendmail_path');
} else {
echo NOK: .ini_get('sendmail_path');
}
?
Note
Same result : NOK
I've already checked :
- the mail logs : no mail send
- and the apache error and access logs : nothing except this :
192.168.0.1 - - [02/Jul/2007:14:07:22 +0200] GET /~ee/mail.php
HTTP/1.1 200 49291 - Mozilla/5.0 (Windows; U; Windows NT 5.1; fr;
rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
On 7/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I've already checked :
- the mail logs : no mail send
- and the apache error and access logs : nothing except this :
192.168.0.1 - - [02/Jul/2007:14:07:22 +0200] GET /~ee/mail.php
HTTP/1.1 200 49291 - Mozilla/5.0 (Windows; U; Windows
Daniel Brown a écrit :
On 7/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I've already checked :
- the mail logs : no mail send
- and the apache error and access logs : nothing except this :
192.168.0.1 - - [02/Jul/2007:14:07:22 +0200] GET /~ee/mail.php
HTTP/1.1 200 49291 -
On 7/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Daniel Brown a écrit :
On 7/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I've already checked :
- the mail logs : no mail send
- and the apache error and access logs : nothing except this :
192.168.0.1 - - [02/Jul/2007:14:07:22
On 7/2/07, Daniel Brown [EMAIL PROTECTED] wrote:
{snip}
Note
Sorry, hit the button before I was done typing.
Note the trailing \r\n after the X-Mailer line as well.
--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107
--
PHP General Mailing List
[EMAIL PROTECTED] wrote:
Hi,
I'm running PHP 5.2.3 on Solaris 10 (AMD64).
My mail function doesn't send any mail, the return value of mail
function is false...
But sendmail_path value is OK in php.ini, and I've tried to send a mail
with sendmail on console with the same user (the apache
Hi,
What i understand is, you have written a new function for sending emails.
Are you passing all the variables to that function? If not, you have to
pass.
or you can use my function
?php
// function declaration, This function can send only HTML emails
function sendMail ($toEmail, $subject,
Hi,
Tried it...but it didn't work...Not sure why. I am using a respectable ISP
and they are looking at the problem although they tend to take their time.
I figure I must not be passing the variable. I will post my entire code.
For all those that help again thank you.
?php
On Sat, 2007-03-17 at 11:07 +0100, Tijnema ! wrote:
Hi,
I have PHP6 installed (Snapshot:200703141130) and somehow it says now
that the mail function is undefined, i have sendmail installed in /usr
(is in $PATH)
my configure command:
'./configure' '--prefix=/usr' '--with-pear'
On 3/17/07, Robert Cummings [EMAIL PROTECTED] wrote:
On Sat, 2007-03-17 at 11:07 +0100, Tijnema ! wrote:
Hi,
I have PHP6 installed (Snapshot:200703141130) and somehow it says now
that the mail function is undefined, i have sendmail installed in /usr
(is in $PATH)
my configure command:
Chris, Richard,
Thank you for your advice.
Inserting sleep(1) into the script seems to have done the trick.
I will also look into the other alternatives you suggest, such as
different mail programs and the error output of mail() to see if I can
optimize the system further.
Thank you for
Dave M G wrote:
PHP List,
I have a database of about 120 users. Each weak I send out a newsletter.
So far as I know, it's been working fine for the last couple of years.
Then recently some users emailed me to let me know that they haven't
been receiving all the messages. I added extra
On Fri, June 9, 2006 12:59 am, Dave M G wrote:
I have a database of about 120 users. Each weak I send out a
newsletter.
So far as I know, it's been working fine for the last couple of years.
Then recently some users emailed me to let me know that they haven't
been receiving all the messages.
On 6/1/06, Aaron Todd [EMAIL PROTECTED] wrote:
I am working with a server that has version 4.2.2 on it. I know...I
know...its old. Its my ISPs server so I don't have too much control over
it.
Anyway, I am seeing a problem where when I use the mail function to send
out an email only some of
Thanks for the reply. I'll ask the ISP about throtteling next time I talk
with them.
I would also like to mention that I am also getting intermitent results when
just sending a single email. One if the web pages I am testing is a support
request form. When the form is submitted it sends an
Aaron Todd wrote:
Thanks for the reply. I'll ask the ISP about throtteling next time I talk
with them.
I would also like to mention that I am also getting intermitent results when
just sending a single email. One if the web pages I am testing is a support
request form. When the form is
On Windows, you need SMTP set.
If you can't set it in php.ini, you might try .htaccess, but I suspect
that is locked down and you can't...
You could try things like:
Install Pegasus email client, and use it from http://php.net/exec to
send email.
Install some kind of class from
Peppy wrote:
AJ,
So what your reply means is that I should not have a new line character in
any variable on my page???
Of course you can have newlines in your email message, just make sure
that any user input is received through POST, and that you run a regular
expression to validate that
AJ,
So what your reply means is that I should not have a new line character in any
variable on my page???
Then is there any way to format the email so it is readable?
Thanks.
On Tue, July 19, 2005 4:31 pm, Cabbar Duzayak said:
I have a web site that is going to have around total of 10-20 thousand
unique users, about 1000 unique hits per day on shared hosting.
I have been using PHP's internal mail mechanism with the local smtp
server on my hosting company, but it
On Tue, May 17, 2005 3:53 pm, [EMAIL PROTECTED] said:
I have a script which send emails using mail() function. I have 100 email
addresses and i set up the script to send 1 email every 10 seconds. So, it
will take 1000 seconds
to send all 100 emails.
My question is: If I stop the script
Bosky, Dave wrote:
I can't seem to get the mail function to work.
Is there a way to authenticate before sending mail, I believe this is my
issue.
No. Manuel will be along soon to tell you to look at the SMTP classes on
phpclasses.org, though. ;) There are classes there that do this, so try
them.
Hello,
on 02/09/2005 07:31 PM John Holmes said the following:
Bosky, Dave wrote:
I can't seem to get the mail function to work.
Is there a way to authenticate before sending mail, I believe this is my
issue.
No. Manuel will be along soon to tell you to look at the SMTP classes on
phpclasses.org,
Nicolae Serban wrote:
I have this code to send an e-mail !!!
$ok=mail($dest, $subject, $mesaj,
From: $expe\r\n
.Reply-To: $expe\r\n
.X-Mailer: PHP/ . phpversion());
It works on windows, i must change something to work on linux
No, but the
I'm developing uner Windows at home .. but I'm pretty sure that my host is
running Unix or Unix like systems on their machines
Pahlevanzadeh Mohsen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Please install a mailserver until your SMTP server
will be up.
When your SMTP server is
Please install a mailserver until your SMTP server
will be up.
When your SMTP server is down,mail func doesn't work.
My suggesstion:
Please work under UNIX systems.
Yours,Mohsen
--- Dre [EMAIL PROTECTED] wrote:
Hi
I was trying to use the mail() function, but it did
not work, maybe because
of
On Wed, Sep 01, 2004 at 06:09:04PM +0300, Dre wrote:
Hi
I was trying to use the mail() function, but it did not work, maybe because
of some settings problem or something that I can't figure out
I went online and tried to execute the following
On Mon, 2004-08-09 at 08:56, BOOT wrote:
I am sure that this is a problem with my MTA configuration not PHP itself,
but any help would be appreciated.
PHP is set to use sendmail (although I understand that my server may be
using qmail and not really sendmail?)
It seems that whatever SMPT
On Monday 09 August 2004 23:56, BOOT wrote:
I am sure that this is a problem with my MTA configuration not PHP itself,
but any help would be appreciated.
PHP is set to use sendmail (although I understand that my server may be
using qmail and not really sendmail?)
Makes no practical
Robin Wilson wrote:
Hi
I am not a php programmer but have installed a php based blog. When the php
script tries to use the mail() function it fails.
what error message does it produce?
Does the mail function
rely on the sendmail server?
no works with any mta.
Is there a way to make the mail()
Hi
I am not a php programmer but have installed a php based blog. When the
php
script tries to use the mail() function it fails. Does the mail function
rely on the sendmail server? Is there a way to make the mail() function
just
send via an external smtp server?
Thanks in advance
Robin
On Sat, 31 Jul 2004 16:15:41 +0100, Robin Wilson [EMAIL PROTECTED] wrote:
Hi
I am not a php programmer but have installed a php based blog. When the php
script tries to use the mail() function it fails. Does the mail function
rely on the sendmail server? Is there a way to make the mail()
When you use the mail function, you must give the first argument. The 'to'
is not in the headers
Try this, it should work
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Envoyé : samedi 1 novembre 2003 22:11
À : [EMAIL PROTECTED]
Objet : [PHP] mail function error -
Have you checked the mail logs (should be /var/log/mail.log or something
similar) you could be getting errors from the mail server rather than the
php side. I have had it where I thought that it was php but it turned out
be a local relaying error
)On 10/22/03 10:16 AM, Peter Graber [EMAIL
On Thursday 07 August 2003 23:19, Brad Esclavon wrote:
I have made a simple script to mail an email to a person on my domain. i
have tested the script with different values and i still cannot get the
email. when i execute the mail function, it returns true, so i know it gets
to the mail
* Thus wrote Peda ([EMAIL PROTECTED]):
I put this PHP script on web server:
?php if (mail([EMAIL PROTECTED], brati, peda, From: Peda)==
TRUE) print(U redu je); else print(Greska); ?
But It seems that mail function doesn't work. I don't get any e-mail.
Can anyone tell me what is wrong.
On Sunday 20 July 2003 23:00, Peda wrote:
I put this PHP script on web server:
?php
if (mail([EMAIL PROTECTED], brati, peda, From: Peda)== TRUE)
print(U redu je);
else
print(Greska);
?
But It seems that mail function doesn't work. I don't get any e-mail.
Can anyone tell me what is
sendmail_path = /usr/sbin/sendmail
OS is Linux
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yeah, umm, thats a weird error message.
What server platform / OS?
On Mon, 2003-07-07 at 12:58, Mike At Spy wrote:
Is anyone familiar with the mail function and how it works on the server? I
can't get it to work on a client's server, and this error shows up in the
error log:
PHP Warning:
To: Mike At Spy
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] mail() function
Yeah, umm, thats a weird error message.
What server platform / OS?
On Mon, 2003-07-07 at 12:58, Mike At Spy wrote:
Is anyone familiar with the mail function and how it works on
the server? I
can't get
PROTECTED]
Sent: Monday, July 07, 2003 1:57 PM
To: [EMAIL PROTECTED]; Mike At Spy
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] mail() function
I can't tell what the version is, but I can tell you that the kernel is:
2.4.7-10
Maybe it has something to do with what identity php or sendmail is running
Can you run a regular phpinfo() command?
-Original Message-
From: Mike At Spy [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 1:57 PM
To: [EMAIL PROTECTED]; Mike At Spy
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] mail() function
I can't tell what the version is, but I can tell you
-
From: Brian S. Drexler [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 2:06 PM
To: 'Mike At Spy'
Subject: RE: [PHP] mail() function
I assume you are running this on the command line. Does the file
have the correct permissions?
-Original Message-
From: Mike At Spy
They have it set to Show all errors except for notices.
-Mike
-Original Message-
From: Brian S. Drexler [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2003 2:18 PM
To: 'Mike At Spy'
Subject: RE: [PHP] mail() function
Ok, so if it is a command line issue it's not the problem
changing the value in the php.ini file is not the ideal option, as it
screws things up for all of users/scripts on the server.
you could use ini_set() for the script to change the sendmail_path var
for that script.
you could use a mail class that does alot of the grunt work for you
(Manuel Lemos
Bersani Francesco wrote:
Hi, I have a problem with the mail function; it always sends mails
assuming in the from field the user [EMAIL PROTECTED].
I tried to override it with this code:
?
$email = [EMAIL PROTECTED];
$subject = prova invio mail ;
$message = parappaaa ;
Hello John,
Please make a copy of the file with a .phps or .txt extension so the
code is not parsed by PHP.
Thanks,
Jason
John Love wrote:
The use of the standard mail(...) function is just not working and I
would really appreciate some patient soul's time to access:
On Tuesday 18 February 2003 01:44, Robin Mordasiewicz wrote:
IS there a way to tell php to use a remote smtp daemon for its mta under
UNIX. I see in the example it looks like windows can be configured to use
a remote smtp. If so what is the syntax.
[mail function]
; For Win32 only.
SMTP =
Marco Alting [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
When I try to use a php script, to send an email, the From header is
replaced by a senders email address of my provider. Is there any way to
make
it so my email address shows up in the From header?
In
Marco Alting [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
When I try to use a php script, to send an email, the From header is
replaced by a senders email address of my provider. Is there any way to
make
it so my email address shows up in the From header?
You have to use sendmail with the -f flag.
I have written a small test util to do this:
?php
$address = recipient@address;
$message = Subject: Test\n;
$message.= \n message;
$result = `echo -e $message | /usr/sbin/sendmail -f your@address
$address`;
$result.= `$message`;
echo $result;
?
On
On Friday 24 January 2003 06:09, Jeff Pauls wrote:
I have a simple mail script and when I run the script I get the following
error:
Warning: mail() is not supported in this PHP build in
Try searching the archives using the above message. It's topic that has been
covered quite a number of
Your ISP should set it up, if not, I believe there is a class that can
comunicate with SMTP server
directly, check www.phpclasses.org
Anthony Ritter wrote:
Hi,
I'm using MS Win 98 and my ISP has PHP installed on a MS server.
I'd like to display a HTML form box on my site for users to type in
Hi Anthony,
I'm using MS Win 98 and my ISP has PHP installed on a MS server.
I'd like to display a HTML form box on my site for users to type in a
message utilizing the PHP mail() function.
I've tested this using Apache on my drive with a html form and a php
script
to receive the data and
- Original Message -
From: DL Neil [EMAIL PROTECTED]
To: Anthony Ritter [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Friday, December 06, 2002 8:47 AM
Subject: Re: [PHP] mail function() with MS
Hi Anthony...{snipped]
.
Thank you DL.
Qusetion: 1:
What would
Hi Anthony
Qusetion: 1:
What would happen if I changed the php.ini settings to:
SMTP=mail.yourisp.com
sendmail_from=MyAddress@MyDomain
as opposed to:
SMTP=smtp.ISPs.domain
=as long as the SMTP server is accessible and you have access rights, then
it can be anyone's/anywhere...
When you
I don't know what Formulário de Cadastro is, but it doesn't belong as fourth
parameter.
That parameter is for From, CC, BCC headers
- Original Message -
From: Rodrigo de Oliveira [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 28, 2002 12:39 PM
Subject: [PHP] Mail()
Hi Dan
I (and others I know) have similar probs of seemingly disappearing emails -
I thought it was down to mail filtering because I cant think of another
explanation (but I dont know that for sure). I was given some advice here
yesterday so I am forwarding you the mails.
Debbie
- Original
They found the problem, the webserver that the client was on had the
wrong path to sendmail, a correction in php.ini and a restart and it was working again.
--- Debbie Dyer [EMAIL PROTECTED] wrote:
Hi Dan
I (and others I know) have similar probs of seemingly disappearing
emails -
Hi,
does that mean I can do nothing about it?
Alva
Pekka Saarinen [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
At 9/10/2002, you wrote:
Hi Everyone,
I did a simple test with this script:
?php
mail([EMAIL PROTECTED], test, this is a test mail);
echo
In article [EMAIL PROTECTED], [EMAIL PROTECTED]
says...
Hi,
does that mean I can do nothing about it?
Alva
Pekka Saarinen [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
At 9/10/2002, you wrote:
Hi Everyone,
I did a simple test with this
At 9/10/2002, you wrote:
Hi Everyone,
I did a simple test with this script:
?php
mail([EMAIL PROTECTED], test, this is a test mail);
echo done;
?
I run the script from web accounts on different servers. I can receive the
test mail from some but not from others. Is there any configurations that
Message-
# From: Arul Venkatesh Kandaswamy [mailto:[EMAIL PROTECTED]]
# Sent: Saturday, August 31, 2002 17:07
# To: Akhmad D. Sembiring
# Subject: Re: [PHP] mail() function problem
#
#
# Hello
#
# $from = MIME-Version: 1.0\r\n;
# $from .= Content-type: text/html; charset=iso-8859-1\r
Hello,
On 09/03/2002 12:19 AM, Akhmad D. Sembiring wrote:
Dear Arul friends,
thanks for your kind helps,
but the problem still exists.
the actual problem is that the 2nd mail() function
does not ever send the mail, no matter what the destination
and the additional header is.
is
# On 09/03/2002 12:19 AM, Akhmad D. Sembiring wrote:
# Dear Arul friends,
#
# thanks for your kind helps,
# but the problem still exists.
#
# the actual problem is that the 2nd mail() function
# does not ever send the mail, no matter what the destination
# and the additional
Hello,
On 09/03/2002 12:38 AM, Akhmad D. Sembiring wrote:
# thanks for your kind helps,
# but the problem still exists.
#
# the actual problem is that the 2nd mail() function
# does not ever send the mail, no matter what the destination
# and the additional header is.
#
I think mailing list managers like Yahoo, ezmlm, etc all have features in
them to suspect bots and programs from subscribing/posting to the groups. I
know I've had trouble subscribing/posting to groups managed by ezmlm...
Probably there is a header or two that PHP automatically sets which makes
; [EMAIL PROTECTED]
Subject: Re: [PHP] mail() function problem
I think mailing list managers like Yahoo, ezmlm, etc all have features in
them to suspect bots and programs from subscribing/posting to the groups. I
know I've had trouble subscribing/posting to groups managed by ezmlm...
Probably
1) read the manual
2) make sure you have sendmail installed
3) make sure sendmail is working
4) look at php.ini it has it all in there you just have to uncomment it and
maybe change the location for sendmail
-Original Message-
From: wm [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 25
Goto www.icaam.com.ar/mass-mailer.php and have some fun... Just don't
send 10 millions of e-mails (which I did) 'couse it will take a wile to
end the loop... ;-)
-Original Message-
From: César Aracena [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 6:08 PM
To: PHP General
once that request is sent you can't really stop it...
even if you close the window it will still process the full request...
php does funny things sometimes. especially with email
César aracena [EMAIL PROTECTED] wrote in message
On Tue, 9 Jul 2002, César Aracena wrote:
I wonder if theres a way to *HIDE* some parts from the Heading of the
emails sent with PHP. Im trying to create an anonymous mail sender but
in the header of the message appears:
Received: (from httpd@localhost)
by
IMHO: This is a good thing. SPAM is a bad thing, which proliferates
without accountability.
-Original Message-
The relevant line is added by the server that RECEVIES the message, not by
your server. So you don't have any control.
No you cant.
All Received:, Date:, Message-ID headers are added to the message at the
SMTP server... Hence, any halfly decent configured SMTP server will *always*
add those headers to *any* message.
If you have administration over the SMTP server, you can with allot of
tweaking configure the
On Wednesday 03 July 2002 00:52, Balaji Ankem wrote:
I am using the SMTP server which needs authentication.
I don't think the built-in mail command handles authentication.
Google php smtp auth
that should point you in the right direction.
--
Jason Wong - Gremlins Associates -
Well I get this message
Fatal error: Maximum execution time of 30 seconds exceeded in
c:\nusphere\apache\htdocs\shop\order_fns.php on line 140
but the message is sent ok..
Windows/nusphere/modem56k.
--
Sapilas@/dev/pinkeye
Peterhead Info [EMAIL
I have read that the mail function doesn't come back if it fails ... but
from what you are saying, the function didn't fail ...
- Original Message -
From: Phil Schwarzmann [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 10, 2002 4:07 PM
Subject: [PHP] mail() function hangs
Yes.
- Original Message -
From: Phil Schwarzmann [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 29, 2002 10:57 AM
Subject: [PHP] mail() function
I want to write a simple script that sends an e-mail message using PHP.
I'm assuming that my web-host has the mail
RTFM!
mail($email_address,$subject,$message,$header);
You can use @mail to supress any errors produced.
Example:
@mail([EMAIL PROTECTED],This is a Test,My Message,From: James
[EMAIL PROTECTED]);
Look at: http://uk.php.net/manual/en/ref.mail.php
- James
www.LondonTown.com
-Original
That may and may not work, I would suggest you add the RTFM() function, then
it WILL work.
Cheers,
-Ryan
- Original Message -
From: Phil Schwarzmann [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 29, 2002 7:57 AM
Subject: [PHP] mail() function
I want to write a simple
lol.what does that return?
At 09:08 PM 5/29/2002 -0700, r wrote:
That may and may not work, I would suggest you add the RTFM() function, then
it WILL work.
Cheers,
-Ryan
- Original Message -
From: Phil Schwarzmann [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 29, 2002
Ed Gorski [EMAIL PROTECTED] wrote:
lol.what does that return?
Usually a more knowledgable programmer occasionally with a sense of
acheivement attached.
--
Stuart
At 09:08 PM 5/29/2002 -0700, r wrote:
That may and may not work, I would suggest you add the RTFM()
function, then it WILL
knowledge
-Original Message-
From: Ed Gorski [mailto:[EMAIL PROTECTED]]
Sent: 29 May 2002 16:26
To: r; [EMAIL PROTECTED]
Subject: Re: [PHP] mail() function
lol.what does that return?
At 09:08 PM 5/29/2002 -0700, r wrote:
That may and may not work, I would suggest you add the RTFM
you mean
return str_replace('ignorance','knowledge');
At 04:34 PM 5/29/2002 +0100, James Holden wrote:
knowledge
-Original Message-
From: Ed Gorski [mailto:[EMAIL PROTECTED]]
Sent: 29 May 2002 16:26
To: r; [EMAIL PROTECTED]
Subject: Re: [PHP] mail() function
lol.what does
How many emails are you sending? A batch of 100? or just one?
Have you ever successfully sent an email?
Have you tested using just one email address (rather than bulk)?
If you sending a bulk, my guess is the process is taking longer than the
maximum time allowed for a script on your server.
There is also a user note at the bottom of the documentation:
I tried to put \r\n at the end of each header line and Netscape
4.7 didn't work properly. I changed to \n and it worked well.
So, I tried it on Outlook Express 5.5 and Eudora 5.1 and it worked too
with \n only.
I hope it helps...
If
PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] mail() function
Date: Mon, 27 May 2002 14:58:37 -0500 (CDT)
There is also a user note at the bottom of the documentation:
I tried to put \r\n at the end of each header line and Netscape
4.7 didn't work properly. I changed to \n and it worked
What platform and MTA are you using? Your MTA may be trying to handle the
message while-u-wait rather than queuing it properly.
miguel
On Tue, 21 May 2002, Wesley Furgiuele wrote:
Adding a mail() step to my page increases the page load time from an average
of about 2 seconds to nearly 8
I am in a shared hosting environment. Here's the info I grab from
phpinfo():
SunOS admin 5.7 Generic_106541-16 sun4u sparc SUNW,UltraAX-MP
sendmail_path: /usr/lib/sendmail -t
SMTP: localhost
I don't yet know what the -t flag means on the Sendmail path. Also, I
included the SMTP value but I am
Have you verified that the mail settings in your php.ini are correct?
---
Mark Roedel | Blessed is he who has learned to laugh
Systems Programmer| at himself, for he shall never cease
LeTourneau University | to be entertained.
Longview, Texas, USA | --
Yes.. I found that there.
My site doesn't allow .htaccess - now I'm off to find out why.
Jason Wong [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
On Wednesday 03 April 2002 12:06, lmlweb wrote:
How can I do that - controlling via .htaccess? Pointing me to references
would be
stripslashes() should work - or set the magic quote thingy to off
-Original Message-
From: lmlweb [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 1:12 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Mail function acting a bit differently
I got an email someone submitted through my
Hosted web, so option to turn on or off is up to the hosting company, not
me.
stripslashes what?
$form = stripslashes($form);
mail(...);
or
$form[message] = stripslashes($form[message]);
mail(...);
Martin Towell [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
, but anyway) would be
the way to go
Martin
-Original Message-
From: lmlweb [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 2:00 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Mail function acting a bit differently
Hosted web, so option to turn on or off is up to the hosting company
On Tue, 2 Apr 2002, lmlweb wrote:
Hosted web, so option to turn on or off is up to the hosting company, not
me.
Perhaps you can control it from a .htaccess file?
miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
101 - 200 of 236 matches
Mail list logo