Hello all, I have a strange problem with the mail() function. It may
not be php at all. I have multiple email accounts at my website. I
just started testing the mail() function to learn how it works. When I
send to multiple address' separating them via a comma, all goes well
until I send the
Hello all, I have a strange problem with the mail() function. It may
not be php at all. I have multiple email accounts at my website. I
just started testing the mail() function to learn how it works. When I
send to multiple address' separating them via a comma, all goes well
until I send the
Hello all, I have a strange problem with the mail() function. It may
not be php at all. I have multiple email accounts at my website. I
just started testing the mail() function to learn how it works. When I
send to multiple address' separating them via a comma, all goes well
until I send
PROTECTED]
Subject: Re: [PHP] using mail() - what is max number of email addresses I
can specify in To field?
It really depends on the mta you use... if your going to use mail(); the I
would put the list of addresses in an array and the do
foreach($addressArray as $address) {
mail($address,'Here
I am writing a script that will query a database
table for some statistical information, and then
email it (daily, weekly, and monthly) to a list of
subscribers. I don't know ahead of time how many
persons will be subscribed to receive the info
(it could be 20 persons or 2000 or more). Email
I'm not sure if you've considered this possibility--but can't you send
the messages to one recipient at a time? This way, the problem wouldn't
present itself, and the end result would be quite the same (with the
added bonus of not having to disclose your entire mailing list to each
recipient).
It really depends on the mta you use... if your going to use mail(); the
I would put the list of addresses in an array and the do
foreach($addressArray as $address) {
mail($address,'Here is your subject','Here is your content');
}
Rolf Brusletto
http://www.phpexamples.net
John Christopher wrote:
If I am using this code:
mail([EMAIL PROTECTED], test, testbody);
and want to add a From: line, how do I do it?
Also, is this an excepted way of sending mail from a web page?
Thanks,
Amanda
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
If I am using this code:
mail([EMAIL PROTECTED], test, testbody);
and want to add a From: line, how do I do it?
Also, is this an excepted way of sending mail from a web page?
[/snip]
Read http://us4.php.net/manual/en/function.mail.php Example 2 (How's
that Chris?)
And yes, it is
For those of you who don't know it or are struggling with the problem with
the slow sending of hte e-mail behind the firewall. This problem doesn't
alway lie with the DNS itself. The workaround to the problem is the
hostname resolution or the alias to the hostname. Just open up the
/etc/hosts
At 06:33 PM 1/1/03 -0500, Michael J. Pawlowsky wrote:
Personally I simply get the e-mail addresses spit out to me from the
database and then I input them into a application made just for bulk mailingt.
You can also easily write a quick perl or shell script to send it out from
a file of names
Happy New Year everyone!
Is the PHP mail() command robust enough to use in a little mailing list app?
The app will basically send an HTML or Text e-mail to the member database of
about 6,000 people. I'm using RedHat Linux 7.2 with PHP 4.2.2, by the way.
I'm concerned I'll bog down my server if I
Check the archives... mail() tends to break pretty quickly... sometimes on
less than 100 personalised emails... The issue ISN'T mail() itself, but
things like server timeouts, script timeouts, etc etc. The issue also isn't
really HTML mail, but more the fact that each email has to be sent to the
Personally I simply get the e-mail addresses spit out to me from the database and then
I input them into a application made just for bulk mailingt.
You can also easily write a quick perl or shell script to send it out from a file of
names and this way you can nice the process so as not to bog
Im trying to send email using mail() to a .info email address and get an
error message. I assume the function parses the email address and doesnt
accept anything that isnt the customary .net, .com, etc. addresses. How can
I get around this?
Thanks
joe Popovich
On Sunday 29 December 2002 23:45, Joe Popovich wrote:
Im trying to send email using mail() to a .info email address and get an
error message. I assume the function parses the email address and doesnt
accept anything that isnt the customary .net, .com, etc. addresses. How can
I get around this?
Dear all,
I am a new user on php and I have read on the function of IMAP in the
php.net but they made me confuse. In ture i am not understand what is the
function and how to use them.
Have there got any resource for me to reference? I think that if there got
more example it can be more easy to
Hello,
I am using the mail() function right now to send e-mails. Is there a
way I can dynamically change where it says the e-mail is from?
Thanks
Brandon
Subject: [PHP] using mail
Hello,
I am using the mail() function right now to send e-mails. Is there a
way I can dynamically change where it says the e-mail is from?
Thanks
Brandon
oops, forst is meant to be forth
-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 13, 2001 9:44 AM
To: 'Brandon Orther'; PHP User Group
Subject: RE: [PHP] using mail
the forst param to mail is the extra headers to send
add in Reply-To: [EMAIL
Did you RTFM?
http://www.php.net/manual/en/function.mail.php
Just create a variable and input it as an extra header.
$from = from: [EMAIL PROTECTED]\r\n ;
mail($to,$subject,$message,$from);
On Monday 12 November 2001 02:41 pm, you wrote:
Hello,
I am using the mail() function right now to
YES I DID READ THE F...in MANUAL
-Original Message-
From: Kurt Lieber [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 12, 2001 2:56 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] using mail
Did you RTFM?
http://www.php.net/manual/en/function.mail.php
Just create a variable and input
Message-
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 13, 2001 9:52 AM
To: PHP User Group
Subject: RE: [PHP] using mail
YES I DID READ THE F...in MANUAL
-Original Message-
From: Kurt Lieber [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 12, 2001
23 matches
Mail list logo