Ok, found out what was happening.
It seems that if the message contains MIME syntax errors, actual behaviour of
sendmail (or its php wrapper) is unspecified.
Anyway, I forgot a semicolomn here and a linebreak there and whoosh! almost
all of my hair pulled out!
Thanks
Andy
--
Registered
On Sat, July 2, 2005 3:11 pm, Andy Pieters said:
I have this situation where mail() returns a false status but the message
is
actually accepted AND reaches destination!
The PHP Version is 4.3.10, the OS Linux
So what I do is (
$header=header for multipart mime message;
$body=body with
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
Mary-Anne Nayler wrote:
Hi.
I am very new to this group and this is my first request for help so
please be patient.
when I try to use the mail() function in a PHP based webpage I get the
following error:
Fatal error: Call to undefined function: mail() in the path to my
script on line line
On Mon, May 9, 2005 4:02 pm, Mary-Anne Nayler said:
Fatal error: Call to undefined function: mail() in the path to my
script on line line number
That means PHP has no mail() function to even call, which is MUCH earlier
in the process than sendmail location.
Most likely, your webhost has
Eustace wrote:
I am relatively new to PHP and could use some help. I have a form, which is
basically in an email format, from, subject, and message. How do I then send
this to an email? I know a bit about the mail function, somebody show me the
ropes please!
Eustace
I'll show you how we do it here
It probably means your email server is not setup for open relaying (aka
spam server). Mail servers should require a login in order to send
email through them. The mail() function itself doesn't support names
and passwords, but other php functions do. You might want to look into
phpmailer to
On , 2005-04-12 at 12:15 +0200, marc serra wrote:
Hi, i want to send an email with an attached file using PEAR classes. I
succeed to do it with one recipients and more.
I use an external SMTP to send it. My problem is that when i want to
send an email with for example 4 recipients and 1
On Wed, March 30, 2005 8:31 am, marc serra said:
I got a problem with mail function. I want to know if it's possible to
send a email in php and to get back an acknowledgement of delivery. My
problem is that i want to know if my emails are delivered successfully
to recipients.
Can you please
Hello marc,
Wednesday, March 30, 2005, 8:31:48 AM, you wrote:
m I got a problem with mail function. I want to know if it's possible
m to send a email in php and to get back an acknowledgement of
m delivery. My problem is that i want to know if my emails are
m delivered successfully to recipients.
The mail() function allows you to specify additional headers that go into the
mail. Delivery acknowledgement is done using specific headers, the exact
format of which I don't know off hand. You will have to find the exact
formatting information yourself, however this is the way to go.
Markus
I've had a production system moved to a new server. Our geniuses here
have refused to allow sendmail on the server and all my e-mail
functions are now gone. Is there a way around this? I have already
checked the manual, I don't see anything
You can always look into utilizing
You can always look into utilizing PEAR::Mail. Once implemented, tt makes
it very easy to switch how you send email out. I recently had to do that
and
it was as easy as doing a global search and replace.
Oh ok. I will look into Pear, thank you Chris!
--
-Dan Joseph
Build a man a fire,
Another way is the famous phpmailer() class.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello Sebastian,
It'd very useful for those who want to help you out, a good
explanation of your error.
For example, you're not quoting some error or some error logs that you
found related to this behavior.
For instance, if you refer to:
http://uk.php.net/mail
You'll see there's a note
Christophe Chisogne wrote:
- Under *nix, PHP mail uses \n to send subject, to, etc [3]
to the sendmail/postfix/qmail binary (ok, *nix eol is \n),
then the MTA uses translate this to SMTP with \r\n
(adding \r to standalone \n if needed) -- ok, RFC want \r\n
I use sendmail.
I use \r\n
$headers = From: [EMAIL PROTECTED]: [EMAIL PROTECTED];
Hey, what's that bullcrap \r\ in there after the Cc: line?!
You can't do that!
Use \r\n there or it will NEVER work right.
You're not following the spec.
:-)
--
Like Music?
http://l-i-e.com/artists.htm
--
PHP General Mailing List
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,
On Friday 28 January 2005 16:32, Jason Wong wrote:
On Friday 28 January 2005 10:09, David Edwards wrote:
I have a fairly simple script written that uses the mail() function on a
client site hosted at Interland. I have used a similar script quite a few
times before with no problem. However
Hi David,
On Thu, January 27, 2005 9:09 pm, David Edwards said:
Hi,
$headers .= MIME-Version: 1.0\n;
$headers .= Content-type: text/plain; charset=iso-8859-1\n;
$headers .= X-Priority: 1\n;
$headers .= X-MSMail-Priority: High\n;
$headers .= X-Mailer: php\n;
$headers .= From: $emailfrom\n;
On Friday 28 January 2005 10:54, R'twick Niceorgaw wrote:
I believe the headers have to end with a blank line? If I remeber
correctly, the last line in the $headers should have two new lines like
$headers .= From: $emailfrom\n\n;
No, the mail() function will automatically take care of the
R'twick Niceorgaw wrote:
Hi David,
On Thu, January 27, 2005 9:09 pm, David Edwards said:
Hi,
$headers .= MIME-Version: 1.0\n;
$headers .= Content-type: text/plain; charset=iso-8859-1\n;
$headers .= X-Priority: 1\n;
$headers .= X-MSMail-Priority: High\n;
$headers .= X-Mailer: php\n;
On Friday 28 January 2005 10:09, David Edwards wrote:
I have a fairly simple script written that uses the mail() function on a
client site hosted at Interland. I have used a similar script quite a few
times before with no problem. However although the script generates no
errors, no emails
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
Hello,
on 01/15/2005 12:59 AM Kelly said the following:
I am having trouble with PHP 5.0.3. I am running Apache 1.3.29. I am
running Solaris 9 x86 on an Intel box.
I get no errors when I start Apache. I get no errors when I run
configtest.
My problem is mail() does not work. It does invoke
Nathaniel Price wrote:
I've been searching for the solution to this problem to no avail.
I recently did a clean install of FC3 on a server that was running RH8.
There were a number of PHP scripts that I had configured to send out
email for notices or passwords or the like. However, now that
Nathaniel Price wrote:
I've been searching for the solution to this problem to no avail.
I recently did a clean install of FC3 on a server that was running RH8.
There were a number of PHP scripts that I had configured to send out
email for notices or passwords or the like. However, now that I've
Nathaniel Price wrote:
I've been searching for the solution to this problem to no avail.
I recently did a clean install of FC3 on a server that was running
RH8. There were a number of PHP scripts that I had configured to send
out email for notices or passwords or the like. However, now that I've
Hello,
Phpdiscuss - Php Newsgroups And Mailing Lists wrote:
I have a dedicated Red Hat linux boxed leased from Interland and the php
mail function does not work. I have found several articles on things to
try and have tried everything I saw but to no avail. I set up a php
script to mail and then
Johan van Zyl wrote:
Hi All
I use sample code from PHPFreaks i.e.
mail($email_address, $subject, $message, From: realcorp.net
Webmaster[EMAIL PROTECTED]\nX-Mailer: PHP/ . phpversion());
When the e-mail address is [EMAIL PROTECTED] (hosted by my telco/isp) it
works.
When I try [EMAIL PROTECTED]
Start sendmail with appropriate params to queue messages and not send them
immediately. That way, sendmail will immediately accept the message and your
script will be freed. sendmail will process the message shortly without
delaying you.
-Stathis
On Thursday 18 November 2004 21:34, Scott
Hello,
On 11/18/2004 04:42 PM, Paul Danko wrote:
I am building an application that uses the mail() command. I am running
on RedHat v9 with Apache v2 and PHP v4.3.8. The problem is, when I run
the mail() function, the submitting page is very slow (1-2 seconds), I
assume because it is waiting for
I did have that similar problem when it took about a minute or two on unix
machine. It turn out to be a DNS issue, so the successful workaround I made
was to use the host file instead in /etc/hosts by added the machine name to
it since that what the sendmail use. Maybe this is in your case?
Hello,
On 11/14/2004 04:11 AM, Curt Zirzow wrote:
Im using the php mail() function to try send an email to a user that has
just registered.
mail($HTTP_POST_VARS['emailaddress1'], 'Matchmakers Website
Registration' ,
'Welcome');
But when I get the following error back.:
Warning: mail(): SMTP
Hello,
On 11/13/2004 04:12 AM, Curt Zirzow wrote:
Im using the php mail() function to try send an email to a user that has
just registered.
mail($HTTP_POST_VARS['emailaddress1'], 'Matchmakers Website Registration' ,
'Welcome');
But when I get the following error back.:
Warning: mail(): SMTP server
* Thus wrote Manuel Lemos:
Hello,
On 11/13/2004 04:12 AM, Curt Zirzow wrote:
Im using the php mail() function to try send an email to a user that has
just registered.
mail($HTTP_POST_VARS['emailaddress1'], 'Matchmakers Website
Registration' ,
'Welcome');
But when I get the following
* Thus wrote Manuel Lemos:
Hello,
On 11/10/2004 10:36 AM, Garth Hapgood - Strickland wrote:
Im using the php mail() function to try send an email to a user that has
just registered.
mail($HTTP_POST_VARS['emailaddress1'], 'Matchmakers Website Registration' ,
'Welcome');
But when I get
Hello,
On 11/10/2004 10:36 AM, Garth Hapgood - Strickland wrote:
Im using the php mail() function to try send an email to a user that has
just registered.
mail($HTTP_POST_VARS['emailaddress1'], 'Matchmakers Website Registration' ,
'Welcome');
But when I get the following error back.:
Warning:
*cough*quotes*cough*
Patrick E Phillips wrote:
I have php installed on my PC as well as an apache webserver and mysql. I am
using cox.net as my cable internet provider. They block port 25 but I do not
know if that affects what I am trying to do... which is:
use the mail() function to send email
[snip]
... making me wonder if a local sendmail is handling the requests
instead.
With all of the above refering to sendmail, is there anyway that my
mail()
can actually be using qmail?
[/snip]
From http://www.php.net/mail, something you have not read apparently
For the Mail functions to
I have been having all kinds of problems with the mail() function in PHP.
I
realize that there are problems inheritly, but I think I am still trying
to
track down the problem.
My latest theory is that PHP isn't set up to work with the right mailing
program. I know that our system is
Jed R. Brubaker wrote:
I have been having all kinds of problems with the mail() function in PHP. I
realize that there are problems inheritly, but I think I am still trying to
track down the problem.
My latest theory is that PHP isn't set up to work with the right mailing
program. I know that
So as I am not an administrator, and all I have to go on is phpinfo (unless
anyone has some suggestions), should I be seeing some trace of qmail in the
phpinfo?
That is why I posted. I apologize if I didn't make it clear. I have read all
about mail, and even used the fantastic Lemos MIME
Jay Blanchard wrote:
From http://www.php.net/mail, something you have not read apparently
Pt. Read? Why would I do that? ;)
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Jed R. Brubaker wrote:
So as I am not an administrator, and all I have to go on is phpinfo (unless
anyone has some suggestions), should I be seeing some trace of qmail in the
phpinfo?
No.
snip
Given the paths phpinfo is reporting, is there anyway that the system could
somehow still be using
- Original Message -
From: Jed R. Brubaker [EMAIL PROTECTED]
Date: Wednesday, October 13, 2004 1:21 pm
Subject: Re: [PHP] mail problems - phpinfo information
So as I am not an administrator, and all I have to go on is
phpinfo (unless
anyone has some suggestions), should I be seeing
So as I am not an administrator, and all I have to go on is phpinfo
(unless
anyone has some suggestions), should I be seeing some trace of qmail in
the
phpinfo?
That is why I posted. I apologize if I didn't make it clear. I have read
all
about mail, and even used the fantastic Lemos MIME
On Thursday 14 October 2004 01:10, Matthew Sims wrote:
The mail settings in php.ini is for Windows only. When using PHP on
Unix/Linux, mail() always defaults to the sendmail binary on localhost. So
you can ignore what it says in phpinfo.
That's incorrect. The
sendmail_path =
setting is
The solution was a simple -f (see it in the extra headers just before the
last [EMAIL PROTECTED]).
Sets the envelope sender address when using sendmail with the -f sendmail
option.
mail([EMAIL PROTECTED], [EMAIL PROTECTED], Testing the simple mail
functions, Did you get this one?, From:
The solution was a simple -f (see it in the extra headers just before the
last [EMAIL PROTECTED]).
Sets the envelope sender address when using sendmail with the -f sendmail
option.
mail([EMAIL PROTECTED], [EMAIL PROTECTED], Testing the simple mail
functions, Did you get this one?, From:
On Tue, 2004-09-07 at 16:52, Josh Close wrote:
When I'm using mail() to send an email, the user is always
From: Apache [EMAIL PROTECTED]
How would I get this to change? I didn't see anything in php.ini or
httpd.conf. I've found it's not possible to do a header rewrite with
postfix either.
How would I get this to change? I didn't see anything in php.ini or
httpd.conf. I've found it's not possible to do a header rewrite with
postfix either.
There is examples in the manual
http://us2.php.net/mail
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Thanks.
-Josh
On Tue, 07 Sep 2004 16:55:24 -0500, Greg Donald [EMAIL PROTECTED] wrote:
On Tue, 2004-09-07 at 16:52, Josh Close wrote:
When I'm using mail() to send an email, the user is always
From: Apache [EMAIL PROTECTED]
How would I get this to change? I didn't see anything in
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
I tried your command:
telnet localhost 25
to see if my SMTP server was up. Obviously it is not, because this is the
response I received.
Connecting to localhost...could not open connection to host on port 25. No
connection could be made because the target machine actively refused it.
So how
From: [EMAIL PROTECTED]
So how do I get my SMTP server working? How do I stop the target machine
(my
computer I assume) from refusing the connection? Oh, and if I do fix this,
it
should make my e-mailing stuff work right?
Offtopic for a PHP list and depends on what kind of SMTP server you're
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
Dear,Please use following command for test of your
SMTP server:
telnet localhost 25
You must recv following message if your SMTP server is
up:
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 localhost.localdomain ESMTP Sendmail
8.12.10/8.12.10;
On Wednesday 01 September 2004 06:28, [EMAIL PROTECTED] wrote:
What is my SMTP server? How do I enable it/make sure its working? If it
isn't working, how do I get it to work?
Between your original post and this one (asking exactly the same thing), did
you manage to fit in some research of
Well, I'm not getting that e-mail.
I was told I need to make sure my mail functions are active. Furthermore I
have been told lots of things about SMTP servers and webservers and
localhost
and I'm really not following.
What is my SMTP server? How do I enable it/make sure its working? If it
On Saturday 28 August 2004 18:36, vivek athalye wrote:
after looking at the imap functions...i was wondering how the mail
filtering works... afaik procmail does that...
If by filtering you mean imap_search() then that works in a completely
different way to procmail.
but is there any std way
On Wed, 2004-08-25 at 15:11, [EMAIL PROTECTED] wrote:
I'm trying to make sure that my mail functons are on for a script I need to
work. I run an Apache 1.3.31, so I am my own webhost. Now I just need to know
how to make sure my mailfunctions are on.
Here is the mail functions part of php.ini
snip
I've been told stuff about how I need to make sure that my SMTP server
(whatever that is??)
-Andrew
/snip
My guess is that you may need to think about setting up a mail server
first before you can get mail functions to work. If you don't know what an
SMTP server is, first thing to do
Hello Andrew:
SMTP server can be retrieved from your ISP provider. The function of
SMTP server is sending the mail to other SMTP server. For example, if you
want send a e-mail [EMAIL PROTECTED] , the SMTP server A will send this mail to
SMTP server B, and SMTP server B will send to SMTP
I've been trying further to get ssmtp working with apache/php in a chrooted
envrionment and have had some success on Linux, so I'm sharing it with
everyone else. I've also come to understand quite well how the mail()
function is implemented in php too, and actually it's quite simple.
All
Just an addennum to my previous post 10 minutes ago:
For ssmtp to work with apache/php in a chrooted environment, some kind of
shell needs to be present in the /bin directory. This seems to be a
limitation of PHP rather than some kind of deficiency with ssmtp. This in
itself is a kind of
Hi Markus,
Markus Mayer wrote:
[MTA in chroot()'d env]
Yes, I'm afraid it requires an MTA.
Maybe it's a risk, but unsing PHP (or general non-static webpages)
generally is a potential security risk #
Dan Bernstein, the author of qmail will pay you 1000$ if you exploit
qmail. The offer stands
On Tue, 17 Aug 2004 10:17:50 -0700, Sandy Keathley
[EMAIL PROTECTED] wrote:
I want to send emails to 2700 addresses selected from a MySQL
database (an opt-in list). I am using the Mail module, assembling
the addresses into an array, and passing that to the module. I have
done this before
Hi Markus,
do I get you right, you can't invoke mail() because php can't find the
sendmail executable?
perhaps this does the trick:
function my_mail_inject($mail)
{
$sendmail = ini_get(sendmail_path);
if(!$sendmail) $sendmail = /var/qmail/bin/qmail-inject;
$p = popen($sendmail, w);
if($p)
{
Hi Stephan,
On Monday 16 August 2004 15:16, Stephan Fiedler wrote:
do I get you right, you can't invoke mail() because php can't find the
sendmail executable?
Indeed you get me right. As I said in my post, alternatives such as qmail,
exim, postfix and similar full featured MTA's in the
[EMAIL PROTECTED] wrote:
I'm sending out a mail, en mass to about 25 people, using the while loop from a MySQL query...
You could send out just one mail, and put all the names in the BCC
field. Save yourself a few SMTP connections. I think there's a limit
to how many addresses you can have in
[EMAIL PROTECTED] wrote:
I've tried just having a name, and it still doesn't reach my notes based
E-mail... :-(
Hmmm, also, how do you specify to send in the BCC field, using the
mail() function?
In the headers
http://us4.php.net/manual/en/function.mail.php
mail ( to, subject, message [,
Nichel [EMAIL PROTECTED]
Date: 08/13/2004 01:52PM
Subject: Re: [PHP] mail() and the From: attribute...
[EMAIL PROTECTED] wrote:
I'm sending out a mail, en mass to about 25 people, using the while loop from a
MySQL query...
You could send out just one mail, and put all the names in the BCC
field
Hi Tristan,
[EMAIL PROTECTED] wrote:
HAving:
...From: [EMAIL PROTECTED]); doesn't work on all recipients... BUT..
... From: justaname); Works on others... but not all...?
Surely this can't be? I've never come accross this before?
Any ideas what's up?
Well, what I do when sending mail with a
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()
You should also be using $_POST instead of $HTTP_POST_VARS. $_POST is
a superglobal, so you can use it anywehere, it's shorter ;-), and it's
the official way to access post vars.
On Sun, 11 Jul 2004 08:52:54 +0800, Jason Wong [EMAIL PROTECTED] wrote:
On Sunday 11 July 2004 08:33, Joao Gomes
Lister, this may be a dumb question, but please don't bother
responding.)
[Original Message]
From: Justin Patrin [EMAIL PROTECTED]
To: Jason Wong [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Date: 07/11/2004 12:29:24 AM
Subject: Re: [PHP] mail problem
You should also be using $_POST instead
Is it not true that $HTTP_POST_VARS is more secure than $_POST, even
though
the latter is a superglobal? Doesn't the former acount for un-updated
server versions?
If it isn't, what disadvantage is there to using $HTTP_POST_VARS? Why
should one use $_POST instead?
No, $HTTP_xxx is not more
On Sunday 11 July 2004 08:33, Joao Gomes wrote:
I am a beginner in php and I am trying to send emails from my machinne, I
dont have any mail server installed in my computer (e.g. sendmail), btw i
am running Windows XP, i wrote this script:
[snip]
and changed the php.ini to:
[mail
On Wednesday 30 June 2004 01:17, Jason Williard wrote:
I'm building a tool to process incoming mail. So far, I have a script
that receives mail that is piped to it. I am able to process the mail
without a problem. However, the script causes a bounce message
containing the output of the
On Fri, 25 Jun 2004 11:08:26 -0500 (CDT), Bing Du [EMAIL PROTECTED] wrote:
Since the result of the mail() returned is 1, the message should have been
delivered fine. but I did not get anything. Where can I look for more
clues of what the problem might be, like possible log, or turn on some
Your message could have bounced or been rejected for some other reason, in
which case you wouldn't have recieved it, but it'll look like it's sent
fine.
-Josh
-Original Message-
From: Bing Du [mailto:[EMAIL PROTECTED]
Sent: Friday, June 25, 2004 11:08 AM
To: [EMAIL PROTECTED]
* Thus wrote Bing Du:
$rev = mail($to,$sbj,$msg);
echo mail from my.edu result is $rev;
?
--
Since the result of the mail() returned is 1, the message should have been
delivered fine. but I did not get anything. Where can I look for more
Negative! $rev will simply let
[EMAIL PROTECTED] wrote:
have you debugged your php code to confirm that a recipient is really
getting put on the message? e.g., print out the to: line, or better
yet, hard-code a recipient in the code. based on what you find,
you'll have a better sense as to whether the issue is on the mta
Sounds like a problem for the maintainers of the spam blocking software?
You can't correct the problem with the headers if you don't know what the
spam software is objecting to. It may be objecting to the fact that the
source is 127.0.0.1?
-Original Message-
From: Rick [mailto:[EMAIL
Hello,
On 04/25/2004 04:18 PM, Josh Klobe wrote:
Using mail($to, $subject, $content, $headers) takes way too long when
attempting to mail to 30k people. This seems to be a result of a socket
being opened for each send. Is there a better way to approach this
situation via php?
Under Unix/Linux,
Manuel Lemos wrote:
Hello,
On 04/25/2004 04:18 PM, Josh Klobe wrote:
Using mail($to, $subject, $content, $headers) takes way too long when
attempting to mail to 30k people. This seems to be a result of a socket
being opened for each send. Is there a better way to approach this
situation via
Hello,
On 04/25/2004 05:43 PM, Travis Low wrote:
Using mail($to, $subject, $content, $headers) takes way too long when
attempting to mail to 30k people. This seems to be a result of a socket
being opened for each send. Is there a better way to approach this
situation via php?
Under
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: php mail() scaleability
Manuel Lemos wrote:
Hello,
On 04/25/2004 04:18 PM, Josh Klobe wrote:
Using mail($to, $subject, $content, $headers) takes way too long
when attempting to mail to 30k people. This seems to be a result of
a socket being opened
Hello,
On 04/25/2004 06:03 PM, Jason Sheets wrote:
Take a look at the Mail Queue class from PEAR, it enables you to put mail in
the Queue instead of real time delivery.
http://pear.php.net/packages.php?catpid=14catname=Mail
This is a bit of an overkill as it attempts to provide an inefficient
* Thus wrote Daryl Meese ([EMAIL PROTECTED]):
Hello all,
When I use the PHP mail function to send emails, with a header of
From:[EMAIL PROTECTED]; bounced and otherwise undeliverable messages come back
to the user www, not the user I indicated the mail was from. Is this a
PHP or MTA issue?
Details?
How are you calling the mail function?
At 11:59 PM 4/4/2004, Jonathan Villa wrote:
For some reason mail is being sent from nobody to nobody every time. I
have tried hardcoding the sendmail path, which is the default anyway,
and it still doesn't work?
Has anyone encountered this before?
$from = From: .$email.\n;
$from .= Reply-to: .$email.\n;
$message = The following person has been added to the Mailing
List.\n\n;
$message .= $name. (.$email.) from .$city. has been added to the
mailing list.;
if(mail([EMAIL PROTECTED],Added To Mailing
List,stripslashes($message),$from) == false)
Try getting rid of the stripslashes, or if you need to remove them, add an
additional \n to the message after the strip slashes, like so:
if(mail([EMAIL PROTECTED],Added To Mailing
List,stripslashes($message).\n,$from) == false) die('failed');
Also, see
301 - 400 of 961 matches
Mail list logo