I have an issue with sending email via PHP which may be a configuration
problem with either PHP, Apache, or possibly a Sendmail, but I don't know
which yet. I figured I'd start here first.
Here's the situation. I have several webpages that send email to users for
various reasons. We
On Tue, September 26, 2006 11:09 am, [EMAIL PROTECTED] wrote:
I have an issue with sending email via PHP which may be a
configuration problem with either PHP, Apache, or possibly a Sendmail,
but I don't know which yet. I figured I'd start here first.
Here's the situation. I have several
On Tue, September 26, 2006 11:16 am, Kevin Murphy wrote:
Why not validate the email address before you send. I use something
like this to kick back an error that says you put in a bad email
address. It won't tell you about a wrong email address, but it will
tell you if they forgot to put in
Richard Lynch wrote:
if(!mail($to,$subject,$msg,$headers)) { die(Unable to send); }
*IF* you are using PHP5 (?) and *IF* your security settings allow it,
the optional fifth argument will let you specify the real sender of
the message, which the responder may or may not be using to bounce
On Tue, September 26, 2006 5:08 pm, Travis Doherty wrote:
They should *always* be sending to the envelope from address (SMTP
`MAIL
FROM` command), with an empty envelope sender (SMTP `MAIL FROM:`) to
avoid loops.
There was a brief period in time where there was an Errors-to: header
that some
On Tue, September 26, 2006 5:08 pm, Travis Doherty wrote:
The RFC's are a rather in depth, so here is an excerpt from Wikipedia
that pretty much sums up what the RFCs do contain:
[http://en.wikipedia.org/wiki/Bounce_message]
For awhile, I've been pondering the advisability of sending a Bounce
On 9/26/06, Richard Lynch [EMAIL PROTECTED] wrote:
On Tue, September 26, 2006 11:09 am, [EMAIL PROTECTED] wrote:
I have an issue with sending email via PHP which may be a
configuration problem with either PHP, Apache, or possibly a Sendmail,
but I don't know which yet. I figured I'd start
On a side note.. have i ever mentioned the email system really sucks.
Curt.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I am using php mail function to send mails to our customers.but when i
send mail to them.it is getting received in customers bulk folder .i want mail
to get received in customers inbox.i dont know the reason why its getting
stored in bulk folder.
i attached the code.below
properly formed and MIME typed HTML, along with a non-HTML version.
David
suresh kumar wrote:
Hi,
I am using php mail function to send mails to our customers.but when i
send mail to them.it is getting received in customers bulk folder .i want
mail to get received in customers inbox.i
kumar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 12, 2006 7:56 PM
To: php-general@lists.php.net
Subject: [PHP] mail() help
Hi,
I am using php mail function to send mails to our customers.but when
i send mail to them.it is getting received in customers bulk folder .i want
mail to get
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
suresh kumar wrote:
Hi,
I am using php mail function to send mails to our customers.but when i
send mail to them.it is getting received in customers bulk folder .i want
mail to get received in customers inbox.i dont know the reason why
Hi to all,
i am having one doubt regarding php mail function.i am using php
mail() function to send mail to the users.but when i send mail throught php its
going to the users bulk folder but not to the user inbox.i dont know the
reason.
Is there any setting
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
suresh kumar wrote:
Hi to all,
i am having one doubt regarding php mail function.i am using
php mail() function to send mail to the users.but when i send mail throught
php its going to the users bulk folder but not to the user
Hi Richard this is exactly what i was after and works perfectly!
Cheers
Bob
Richard Lynch [EMAIL PROTECTED] wrote: On Tue, August 15, 2006 6:54 am, bob
pilly wrote:
Im trying to send emails using the mail() function but im having a
problem. Because the box that the scripts sit on is a
Hi all
Im trying to send emails using the mail() function but im having a problem.
Because the box that the scripts sit on is a shared web-hosting package the
Reply-path part of the header always comes up as [EMAIL PROTECTED] but i have
set the from part of the header to [EMAIL PROTECTED] A
bob pilly wrote:
Im trying to send emails using the mail() function but im having a problem.
Because the box that the scripts sit on is a shared web-hosting package the
Reply-path part of the header always comes up as [EMAIL PROTECTED] but i have
set the from part of the header to [EMAIL
On Tue, August 15, 2006 6:54 am, bob pilly wrote:
Im trying to send emails using the mail() function but im having a
problem. Because the box that the scripts sit on is a shared
web-hosting package the Reply-path part of the header always comes up
as [EMAIL PROTECTED] but i have set the from
At 11:06 AM -0400 8/15/06, Jon Anderson wrote:
bob pilly wrote:
Im trying to send emails using the mail() function but im having a
problem. Because the box that the scripts sit on is a shared
web-hosting package the Reply-path part of the header always comes
up as [EMAIL PROTECTED] but i have
Richard Lynch wrote:
On Tue, August 15, 2006 6:54 am, bob pilly wrote:
Im trying to send emails using the mail() function but im having a
problem. Because the box that the scripts sit on is a shared
web-hosting package the Reply-path part of the header always comes up
as [EMAIL PROTECTED] but i
On Tue, July 25, 2006 11:47 pm, Chris wrote:
There's a default for reply-to in the php.ini? What's the variable
called - I can't see one. I can see these:
; For Win32 only.
sendmail_from = [EMAIL PROTECTED]
; For Unix only. You may supply arguments as well (default: 'sendmail
-t -i').
Greetings Everyone,
What in the piece of code below might be causing the headers for from
and reply-to to be set incorrectly?
'
$headers = MIME-Version: 1.0\r\n.
Content-type: text/html; charset=iso-8859-1\r\n.
From: .$email.\r\n.
Reply-to: .$email.\r\n.
Date: .date(r).\r\n;
'
Using
Schalk wrote:
Greetings Everyone,
What in the piece of code below might be causing the headers for from
and reply-to to be set incorrectly?
'
$headers = MIME-Version: 1.0\r\n.
Content-type: text/html; charset=iso-8859-1\r\n.
From: .$email.\r\n.
Reply-to: .$email.\r\n.
Date: .date(r).\r\n;
'
-regensburg.de/~mim09509/PHP/list.phtml//www-cgi/home/mim09509/public_html/PHP/mail-quote.phtml?datei=%2Fwww-cgi%2Fhome%2Fmim09509%2Fpublic_html%2FPHP%2Fmail-quote.phtml%2Crfc822-syntax.txt):
function quote_printable($text, $max=75){
/* $text ist ein String (mit neue Zeilen drin), $max ist die max
http://www-cgi.uni-regensburg.de/~mim09509/PHP/list.phtml//www-cgi/home/mim09509/public_html/PHP/mail-quote.phtml?datei=%2Fwww-cgi%2Fhome%2Fmim09509%2Fpublic_html%2FPHP%2Fmail-quote.phtml%2Crfc822-syntax.txt):
function quote_printable($text, $max=75){
/* $text ist ein String (mit neue Zeilen drin
Hello,
I'm wondering about the behavior of the mail() function.
$sent = mail($destination, $subject, $content, $headers);
I use some optional header parameters:
From:[EMAIL PROTECTED]: 1.0\r\nContent-Type: text/plain;
charset=ISO-8859-1\r\nContent-Transfer-Encoding: quoted-printable\r\n.
Can
Leonidas Safran wrote:
Hello,
I'm wondering about the behavior of the mail() function.
$sent = mail($destination, $subject, $content, $headers);
I use some optional header parameters:
From:[EMAIL PROTECTED]: 1.0\r\nContent-Type: text/plain;
charset=ISO-8859-1\r\nContent-Transfer-Encoding:
Hi all!
I've use PHP mail to send mail to my Gmail ID. But it gets delivered to my
Spam box and not the Inbox :(
Am I missing a header, signature, certificate?
Thanks
KM
On 6/18/06, kartikay malhotra [EMAIL PROTECTED] wrote:
I've use PHP mail to send mail to my Gmail ID. But it gets delivered to my
Spam box and not the Inbox :(
Am I missing a header, signature, certificate?
You're probably missing a header, but, who knows, you
haven't shown us any code
kartikay malhotra wrote:
Hi all!
I've use PHP mail to send mail to my Gmail ID. But it gets delivered
to my
Spam box and not the Inbox :(
Am I missing a header, signature, certificate?
Thanks
KM
Is the system you are sending from listed in any RBLs? If you don't set
a subject line
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
Since it was sunday I was not able to thank instently. Thanks for the help.
Thanks to all.
[snipped...]
. Sprinkle echo or var_dump statements
throughout your code and try to find out where the problem
is. Make liberal use of the documentation at php.net/manual.
I have placed some comments inline, and pointed
out your infinite loop.
the mail.php file:
^^^
?php
/*mail body file
Message -
From: aci india [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Friday, June 09, 2006 10:24 PM
Subject: [PHP] Mail sending program (beginner)
Dear group,
Description:
Following is the code which I tried for learning propuses. It is a mail
sending program
which checks
At 10:54 AM +0530 6/10/06, aci india wrote:
Dear group,
Description:
Following is the code which I tried for learning propuses. It is a mail
sending program
-snip-
I read what you wanted, try this:
http://www.weberdev.com/get_example-503.html
hth's
tedd
--
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 output to my script to
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.
);
}
function my_error()
{
alert(pls enter a correct e-mail ID);
document.my_frm.user_email.value = ;
}
/script
/form
/body
/HTML
the mail.php file:
^^^
?php
/*mail body file*/
function cnd($fname)
{
$fil = fopen($fname,r);
if(!$fil)
die(fopen error);
while(!feof
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 the messages get to the destination. I wrote a
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
Peter Lauri wrote:
I do set the headers now, but still the email is not delivered to Hotmail.
This is the headers that I set:
X-Sender: [EMAIL PROTECTED]
From: DWS Asia [EMAIL PROTECTED]
Date: Thu, 04 May 2006 22:04:23 +0700
Subject: What is this? 2
the subject of your email!
--
PHP General
, May 05, 2006 1:31 PM
To: Peter Lauri
Cc: php-general@lists.php.net
Subject: Re: [PHP] Mail and hotmail
Peter Lauri wrote:
I do set the headers now, but still the email is not delivered to Hotmail.
This is the headers that I set:
X-Sender: [EMAIL PROTECTED]
From: DWS Asia [EMAIL PROTECTED
Best group member,
I am sending email to a hotmail thru PHP. When I send it like this it
arrives (in the junk mail, but it arrives):
mail('[EMAIL PROTECTED]', 'A nice subject', 'Some text');
It works well, but I want to change the FROM header so I do this:
mail('[EMAIL PROTECTED]', 'A nice
On Thu, 2006-05-04 at 17:37 +0700, Peter Lauri wrote:
mail('[EMAIL PROTECTED]', 'A nice subject', 'Some text', 'From: Peter
Lauri [EMAIL PROTECTED]');
This email does not arrive to the Hotmail inbox.
This has been discussed ad nauseum on this list. I suggest going through
the list archives
Peter Lauri wrote:
Best group member,
I am sending email to a hotmail thru PHP. When I send it like this it
arrives (in the junk mail, but it arrives):
mail('[EMAIL PROTECTED]', 'A nice subject', 'Some text');
It works well, but I want to change the FROM header so I do this:
mail('[EMAIL
, 2006 5:43 PM
To: Peter Lauri
Cc: php-general@lists.php.net
Subject: Re: [PHP] Mail and hotmail
On Thu, 2006-05-04 at 17:37 +0700, Peter Lauri wrote:
mail('[EMAIL PROTECTED]', 'A nice subject', 'Some text', 'From: Peter
Lauri [EMAIL PROTECTED]');
This email does not arrive to the Hotmail inbox
/ as well as a google for php
mail headers. Hotmail has very little to do with your question.
--Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
@lists.php.net
Subject: Re: [PHP] Mail and hotmail
Peter Lauri wrote:
Best group member,
I am sending email to a hotmail thru PHP. When I send it like this it
arrives (in the junk mail, but it arrives):
mail('[EMAIL PROTECTED]', 'A nice subject', 'Some text');
It works well, but I want to change
values
are possible there? Is it the same as for X-priority?
Regards,
Peter
-Original Message-
From: Angelo Zanetti [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 04, 2006 5:53 PM
To: Peter Lauri
Cc: php-general@lists.php.net
Subject: Re: [PHP] Mail and hotmail
Peter Lauri wrote
On Thu, May 4, 2006 5:37 am, Peter Lauri wrote:
mail('[EMAIL PROTECTED]', 'A nice subject', 'Some text', 'From:
Peter
Lauri [EMAIL PROTECTED]');
I think you need 'From: Peter Lauri [EMAIL PROTECTED]' for starters.
This email does not arrive to the Hotmail inbox.
There's spam, and then
('sendmail_from');
I tried with and without the ini_set.
Best regards,
Peter Lauri
-Original Message-
From: Angelo Zanetti [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 04, 2006 5:53 PM
To: Peter Lauri
Cc: php-general@lists.php.net
Subject: Re: [PHP] Mail and hotmail
Peter Lauri
Because you have created ta totally BOUGS MIME email.
You've rn rough-shod over the standards for html enhanced (cough,
cough) email.
Use plain-text, or do a ton of research or use the MIME email classes
from http://phpclasses.org
On Sat, April 8, 2006 5:52 pm, Schalk wrote:
Greetings All,
Hello,
I'm not sure if this is the right list to ask this on or not
Here's the situation... my php scripts were generating emails as
expected. I was shocked when they told me that exim was not responding
to requests on port 25 and had to be restarted. So, PHP communicates
with exim
On Wed, March 22, 2006 10:29 pm, Mark wrote:
How can i make this email from a database a hyperlink so it doesnt
show the
email address--i have tried many things but i keep getting errors. At
the
moment it just shows the email (no link)
thanks
?php
//get comp_id
$query =
How can i make this email from a database a hyperlink so it doesnt show the
email address--i have tried many things but i keep getting errors. At the
moment it just shows the email (no link)
thanks
?php
//get comp_id
$query = mysql_query(SELECT * FROM comps WHERE name = '$comp_name');
Mark wrote:
How can i make this email from a database a hyperlink so it doesnt show the
email address--i have tried many things but i keep getting errors. At the
moment it just shows the email (no link)
thanks
?php
//get comp_id
$query = mysql_query(SELECT * FROM comps WHERE name =
.
On Sun, March 19, 2006 3:50 pm, Paul Goepfert wrote:
Hi all,
Has anyone had this problem before? I have a web server that resides
on a windows platform (According to phpinfo()). I used the php mail
function to send out a test message to make sure that the mail
function would work when needed
Hi all,
Has anyone had this problem before? I have a web server that resides
on a windows platform (According to phpinfo()). I used the php mail
function to send out a test message to make sure that the mail
function would work when needed. I sent out the test message and I
didn't get an email
Dear all,
I wanna mail to x user that x can't see my IP address.
Do you know same function?
--Mohsen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Chris wrote:
check your SMTP settings in the PHP.ini file.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 2 Feb 2006, at 13:00, Søren Schimkat wrote:
I'm using the mail function for sending mail, and I would like to
specify the
Return-Path header, but it would seem that PHP or Apache is
modyfying the
header.
Strictly speaking, you should not set a return-path header at all.
You should
Hi,
I upgraded to apache 2.2 and php5, now all my
mail() functions return false.
But there is nothing in the logs as to why it
failed.
sendmail is in the path.
Has something else changed that won't let mail()
run?
Thanks.
No virus found in this outgoing message.
Checked by AVG Free
I also noticed there is no /usr/local/lib/php/Mail
directory anymore, should there be with php5?
- Original Message -
From:
PHP
To: php
Sent: Monday, February 06, 2006 10:35
AM
Subject: [PHP] mail problem
Hi,
I upgraded to apache 2.2 and php5, now all my
Hi,
Is there a /usr/sbin/sendmail file on the server? php looks for this
when it compiles, if it's not there then mail() won't work.
(check a phpinfo page as well and look for sendmail_path).
PHP wrote:
I also noticed there is no /usr/local/lib/php/Mail directory anymore,
should
Hi Guys
I'm using the mail function for sending mail, and I would like to specify the
Return-Path header, but it would seem that PHP or Apache is modyfying the
header.
This is the simple code:
mail('[EMAIL PROTECTED]', 'Subject', 'Message', From:
[EMAIL PROTECTED]: [EMAIL PROTECTED]);
.. but
Søren Schimkat wrote:
Hi Guys
I'm using the mail function for sending mail, and I would like to specify the
Return-Path header, but it would seem that PHP or Apache is modyfying the
header.
This is the simple code:
mail('[EMAIL PROTECTED]', 'Subject', 'Message', From:
[EMAIL PROTECTED]:
Thanks Richard. That worked great.
- Original Message -
From: Richard Heyes [EMAIL PROTECTED]
To: Søren Schimkat [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Thursday, February 02, 2006 8:02 AM
Subject: Re: [PHP] mail() and Return-Path header
Søren Schimkat wrote:
Hi Guys
On Mon, January 30, 2006 8:51 pm, Richard Schilling wrote:
I've been troubleshooting mail for a couple of days and searching
every
mail list archive/documentation/etc I could find. Hoping someone can
help me troubleshoot my mail sending problem. I can't get the PHP
mail
function to send
I've been troubleshooting mail for a couple of days and searching every
mail list archive/documentation/etc I could find. Hoping someone can
help me troubleshoot my mail sending problem. I can't get the PHP mail
function to send mail properly - even to addresses on the local host.
I'm using
A couple of days ago somebody posted a message with a routine to check
input fields for potential spam/hacking. I believe it was on this
list, but not sure.
Of course I can't find that message any more...
Could the original poster, please repost?
Thanks.
Gerry
--
PHP General Mailing List
Hi all.
I'm using the PHP mail function to send a confirmation email to a person
once they register on the site. A few thing that happens with 2 of the
mail accounts that we're testing to receive the mail is that the mail
never is received. One of the mail accounts is a Yahoo account
Angelo Zanetti wrote:
I'm using the PHP mail function to send a confirmation email to a person
once they register on the site. A few thing that happens with 2 of the
mail accounts that we're testing to receive the mail is that the mail
never is received. One of the mail accounts is a Yahoo
At 07:43 PM 1/16/2006, Angelo Zanetti wrote:
Hi all.
I'm using the PHP mail function to send a confirmation email to a person
once they register on the site. A few thing that happens with 2 of the
mail accounts that we're testing to receive the mail is that the mail
never is received. One
Angelo Zanetti wrote:
I'm using the PHP mail function to send a confirmation email to a person
once they register on the site. A few thing that happens with 2 of the
A bunch of times, I have found that some hosts will up the spam ante
when you don't include almost _all_ of the headers
There are a lot of limitations in the built-in PHP mail function. If
you want more control over how your email is sent, try using
phpmailer. It's all php code, so you can customize it to your needs,
not that you need to.
http://phpmailer.sourceforge.net/
On Dec 3, 2005, at 2:45 AM, Dan
Also look at PEAR::Mail. If you search back through this list there was a
discussion on peoples preferences.
-Original Message-
From: Brent Baisley [mailto:[EMAIL PROTECTED]
Sent: Monday, December 05, 2005 7:04 AM
To: Dan
Cc: php-general@lists.php.net
Subject: Re: [PHP] Mail SMTP
On Sat, Dec 03, 2005 at 10:17:59PM -0700, Dan wrote:
Yes that does work but the return path and my mail headers still show
the main domain. My point is that PHP should be acessing my SMTP
server specified but it is using the default local host instead.
If you note at php.net/mail that the
On Sat, Dec 03, 2005 at 12:45:24AM -0700, Dan wrote:
I have a PHP 4.x install on an Apache server. I have a PHP
application and a call to the mail function. I have 2 static IP's on
the server and I have one web server and one instance of postfix for
each IP to basically separate the
Yes that does work but the return path and my mail headers still show
the main domain. My point is that PHP should be acessing my SMTP
server specified but it is using the default local host instead.
Dan T
On Dec 3, 2005, at 11:06 AM, Curt Zirzow wrote:
On Sat, Dec 03, 2005 at 12:45:24AM
I have a PHP 4.x install on an Apache server. I have a PHP
application and a call to the mail function. I have 2 static IP's on
the server and I have one web server and one instance of postfix for
each IP to basically separate the two sites. The only issue I have
right now is sending
On Fri, Nov 18, 2005 at 05:06:36PM -0800, Ligaya Turmelle wrote:
$message - yes
---
This usually can go without any special escaping, unless you have
certain headers (the Boundary: header) or allow an injection into
the $additional_headers field. If this is the case a malicious
Hello,
When using the mail() function to send a simple mail message, which
specific parameters of the function need to cleaned to prevent mail
injection?
First of all I am already validating the $to parameter to be a valid
email address.
After reading
Hello,
When using the mail() function to send a simple mail message, which
specific parameters of the function need to cleaned to prevent mail
injection?
First of all I am already validating the $to parameter to be a valid
email address.
After reading
On Thu, Nov 17, 2005 at 07:10:06PM -0500, Chris Drozdowski wrote:
Hello,
When using the mail() function to send a simple mail message, which
specific parameters of the function need to cleaned to prevent mail
injection?
This is a good topic. I'm in the process of writing an article on
$message - yes
---
This usually can go without any special escaping, unless you have
certain headers (the Boundary: header) or allow an injection into
the $additional_headers field. If this is the case a malicious
user could attach a virus to be sent anonymously.
Shouldn't you
On 11/8/05, Richard Heyes [EMAIL PROTECTED] wrote:
Eric Butera wrote:
I was just curious if there was a way to set the return path of an email
dynamically. I've looked around and all I could find was a Zend tutorial
running sendmail from the command line, which I don't want to do. :)
I
I was just curious if there was a way to set the return path of an email
dynamically. I've looked around and all I could find was a Zend tutorial
running sendmail from the command line, which I don't want to do. :)
I tried setting Return-Path: in the mail() headers, but that didn't seem
to make a
Eric Butera wrote:
I was just curious if there was a way to set the return path of an email
dynamically. I've looked around and all I could find was a Zend tutorial
running sendmail from the command line, which I don't want to do. :)
I tried setting Return-Path: in the mail() headers, but that
On Tue, November 8, 2005 9:47 am, Eric Butera wrote:
I was just curious if there was a way to set the return path of an
email
dynamically. I've looked around and all I could find was a Zend
tutorial
running sendmail from the command line, which I don't want to do. :)
I tried setting
Hi
does anyone know whats better/uses less resource etc:
If I run a loop to send a 1000 emails, should I use php's mail fucntions
or send directly to the servers smtp server.
clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, Oct 31, 2005 at 12:10:02PM +0200, Clive wrote:
does anyone know whats better/uses less resource etc:
If I run a loop to send a 1000 emails, should I use php's mail fucntions
or send directly to the servers smtp server.
What do you mean by send directly? Are you thinking of sending
Hi Clive,
Monday, October 31, 2005, 10:10:02 AM, you wrote:
does anyone know whats better/uses less resource etc:
If I run a loop to send a 1000 emails, should I use php's mail fucntions
or send directly to the servers smtp server.
Use PEAR Mail Queue.
Cheers,
Rich
--
Zend Certified
Clive wrote:
Hi
does anyone know whats better/uses less resource etc:
If I run a loop to send a 1000 emails, should I use php's mail fucntions
or send directly to the servers smtp server.
Depends on your setup. If you're on Linux/Unix you could use the mail()
function along with the -odq
On Mon, Oct 31, 2005 at 12:38:09PM +0200, Clive wrote:
what I mean is: im using a class called phpmailer and it has the option
to sent to a smtp server, I suppose this means that they do open a
socket to the smtp server.
All that means is that you can specify an external SMTP server (e.g.
On 31 Oct 2005, at 10:34, Richard Heyes wrote:
Depends on your setup. If you're on Linux/Unix you could use the
mail() function along with the -odq option to Sendmail/Postfix/
Exim etc (fifth argument to the mail() function) which will dump
all the mails into the MTAs queue. After this, the
at a time really) using something like PEAR
Queue as has already been suggested.
There also another option with the class: using the sendmail program,
but won't the php mail function use sendmail anyway
As far as I know, mail() just sends stuff to whatever the sendmail
binary is on your system
On Mon, October 31, 2005 4:10 am, Clive wrote:
does anyone know whats better/uses less resource etc:
If I run a loop to send a 1000 emails, should I use php's mail
fucntions
or send directly to the servers smtp server.
SMTP
PHP's mail() function was never designed for high-volume email.
It
401 - 500 of 1690 matches
Mail list logo