Daniel Brown wrote:
Forwarded.
Accidentally clicked reply directly to Nitsan. Sorry about that. :-\
On Thu, Jun 19, 2008 at 2:47 AM, Nitsan Bin-Nun [EMAIL PROTECTED] wrote:
Umm just for general knowledge, whats the difference between HEREDOC to
simple value assignment?
As far as i
Daniel Brown wrote:
Forwarded.
Accidentally clicked reply directly to Nitsan. Sorry about that. :-\
On Thu, Jun 19, 2008 at 2:47 AM, Nitsan Bin-Nun [EMAIL PROTECTED] wrote:
Umm just for general knowledge, whats the difference between HEREDOC to
simple value assignment?
As far as i
On Thu, Jun 19, 2008 at 12:02 PM, Jim Lucas [EMAIL PROTECTED] wrote:
umm If this didn't work, most of my HEREDOC sections would not work.
AFAIK I have always been able to use name-keyed arrays in my HEREDOC.
I have always wrapped them with {...} to allow PHP to better identify them,
but
debussy007 wrote:
Hi,
When a member register in my site, I send him a mail with activation link.
This is the string I send:
$mailContent =
Thank you for your interest in XYZ !\n\n .
In order to activate your account, please click the link below.\n\n .
(If the link .
I tested
On Wed, Jun 18, 2008 at 7:14 PM, Wolf [EMAIL PROTECTED] wrote:
Change it to:
$mailContent = Thank you for your interest in XYZ!
In order to activate your account, please click the link below.
(If the link .
;
I've always used this and never had a problem with it.
If you want to
On 8/7/07, Luc [EMAIL PROTECTED] wrote:
Good evening list,
i'm having a strange mail problem:
i have 2 contact-forms on a site, where 1 get's send to the e-mail
account and the other doesn't. I've tested them both on my remote
server and they work, but when i upload them to the
Hello,
on 03/20/2007 06:54 AM Delta Storm said the following:
Hi,
I'm having problem with character encoding in PHP mail functions.
CODE:
$headers.= Content-Type: text/html; charset=iso-8859-1;
$headers .= MIME-Version: 1.0 ;
$headers .= Content-Transfer-Encoding:
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 the @ sign and stuff.
if
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
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
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 there be
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
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 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
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]
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
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
All,
Many thanks for you thoughts, I will take a look at your suggestions, I hope
they fix the issue, others suggested the same things so I think we can
assume your all correct, (I hope so!)
Once again, thanks
Trevor
Curt Zirzow [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
* Thus
Fixed!
Thanks
Trevor
Trevor Dowling [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
All,
Many thanks for you thoughts, I will take a look at your suggestions, I
hope
they fix the issue, others suggested the same things so I think we can
assume your all correct, (I hope so!)
[snip]
I have about 9000 addresses and can only successfully send about 2000
mails
before the page say complete/done.
[/snip]
What is your PHP script execution time set to in the php.ini? Are you
running this from the browser? If so you will also need to modify your
browser timeout? Place this
Have you timed it? You might want to check it doesn't take longer than the
max_execution_time directive in php.ini allows (you'll have to check if
that's the correct name for it). I've also used set_time_limit(0) at the top
of my scripts when I know it's going to take a while...
Regards
Chris
[snip]
I have about 9000 addresses and can only successfully send about 2000
mails
before the page say complete/done.
[/snip]
Depending on your error reporting level, instead of ending normally you
should get a script timed out message. If you're not getting that message,
it may be that your
* Thus wrote Trevor Dowling ([EMAIL PROTECTED]):
PHP Version 4.3.2
I am having problems sending a large number of emails from a mail list held
in a database. I don't belive that the database has anything to do with the
problem.
I have about 9000 addresses and can only successfully send
/var/log/maillog file shold have some clues.
Cesar Aracena wrote:
Before trying to guess what Saddam can and can't do with computers, try
sending e-mails to different addresses (different domains... NOT just
different usernames). Sometimes, the e-mail server you use is NOT
configured properly, so
Cesar Aracena [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[snip]
For some e-mail servers, you have to write lots of extra headers in
the e-mails in order to pass their guard.
[/snip]
True! But actually, I' ve seen people using only the 'From:' header to send
mail. Emails can then
* Thus wrote Ivo Fokkema ([EMAIL PROTECTED]):
Cesar Aracena [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[snip]
For some e-mail servers, you have to write lots of extra headers in
the e-mails in order to pass their guard.
[/snip]
True! But actually, I' ve seen people using
Curt Zirzow [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
* Thus wrote Ivo Fokkema ([EMAIL PROTECTED]):
True! But actually, I' ve seen people using only the 'From:' header to
send
mail. Emails can then be dropped easily by servers thinking it is spam.
No email server should drop
My ideas: (in order of likelihood)
Idea #1: Your computer hates you.
Idea #2: Sendmail isn't running.
Idea #3: Sendmail isn't setup correctly.
Idea #4: You have been hacked by Saddam.
-Michael
:-)
Ben C. wrote:
I have recently had php installed on my server with sendmail. The server is behind a
Before trying to guess what Saddam can and can't do with computers, try
sending e-mails to different addresses (different domains... NOT just
different usernames). Sometimes, the e-mail server you use is NOT
configured properly, so every e-mail does not gets to you.
It happened to me too when
Hi Don,
?php
$cmd='/bin/sh -c set';
passthru($cmd);
echo 'P';
putenv(REMOTE_ADDR=$REMOTE_ADDR);
passthru($cmd);
echo 'P';
?
This code will work, but I want to be able to enforce it on people that use
the mail() function.
I want php to call sendmail (The one from php.ini that is)
On 10-Jun-2003 Maikel Verheijen wrote:
snip
Unfortunately php does NOT pass on these environment variabeles to the
program that gets called as the mail-program (In my case my
mini-sendmail).
This renders this little spamfinder trick unusable, which is too bad :(
If someone has a
Alright with the following code I am using is printing/echoing to the
browser a 1 before the html output. It's like it's adding 2
variables
together.
Here is what I am trying to do. I have a form that enters information
to a
text file, and at the same time sends the information to a
I don't believe you can use the form of Someone [EMAIL PROTECTED].
I believe this is what the MTA receives as the MAIL TO (not to be
confused with eth To: header), and it's not a legal format for that.
--- Rosen [EMAIL PROTECTED] wrote:
Hi,
I'm using PHP 4.3.1 on Win98 and I have a problem with
Carlos Alberto Pinto Hurtado wrote:
mail($to,$subject,$body,$headers);
if $to is [EMAIL PROTECTED] is perfect.
if $to is user@otherdomain generate error
the problem is when the content $to is different at ica.gov.co eg. [EMAIL PROTECTED] function mail dont'n response.
Carlos,
This has to
Carlos Alberto Pinto Hurtado wrote:
SMTP = hermes.ica.gov.co
I forgot to add, look at the mail log on the above computer. It should
show the attempt to send the email. If so, then it is another
confirmation that your php is OK and it is the email server.
Chris
--
PHP General Mailing List
i setting php.ini
[mail function]
;For Win32 only
SMTP = hermes.ica.gov.co
sendmail_from = [EMAIL PROTECTED]
=it is impressive to see that the Greeks' messenger has made it all the way
over to Colombia! Wasn't he also held responsible for dealing with people
who were guilty of indiscreet speech
This header is added by mail server, so you must change the apache user.
Duncan wrote:
Hi,
i wrote a helpdesk script, which can send the user emails, if requested.
The helpdesk sends emails as [EMAIL PROTECTED], but some servers
don't accept nobody as the sender!
do you know how i can change
Hi,
The helpdesk sends emails as [EMAIL PROTECTED], but some servers
don't accept nobody as the sender!
do you know how i can change that?
i don't mean the From: header, but the real sender header of the
email...
I don't know if this is a good way to do things or not, but I have scripts
Oh,
i see.
Thanks.
Marek Kilimajer wrote:
This header is added by mail server, so you must change the apache user.
Duncan wrote:
Hi,
i wrote a helpdesk script, which can send the user emails, if requested.
The helpdesk sends emails as [EMAIL PROTECTED], but some servers
don't accept
In your sendmail path, do you have -t -i appended to the path?
Like: /usr/bin/sendmail -t -i
Adam Voigt
[EMAIL PROTECTED]
On Tue, 2002-10-08 at 13:15, Devin Atencio wrote:
I am trying to get PHP to send mail through my FreeBSD machine
and my machine is running Sendmail 8.12.4, and I have
Yes I do have -t -i at the end of the path but it still doesn't
work. Any other ideas?
On Tue, 2002-10-08 at 11:17, Adam Voigt wrote:
In your sendmail path, do you have -t -i appended to the path?
Like: /usr/bin/sendmail -t -i
Adam Voigt
[EMAIL PROTECTED]
On Tue, 2002-10-08 at 13:15,
Devin Atencio wrote:
to sendmail in my /usr/local/lib/php.ini. I am using PHP 4.2.3
but it fails to send mail. My /var/log/maillog shows the attempt
but nothing happens:
Oct 8 11:12:18 stardust sendmail[84142]: g98HCIsQ084142: from=nobody,
size=331, class=0, nrcpts=0,
msgid=[EMAIL PROTECTED],
I've had no problems using qmail-inject and MySQL to send over 100K emails
in a day. I doubt it's an MySQL problem unless you've done something
drastically wrong; perhaps you're bandwidth limited?
-Original Message-
From: Research and Development [mailto:[EMAIL PROTECTED]]
Hello. I
: [PHP] Mail problem with more than 1k users
This gets discussed quite frequently.
My guess is that your ISP *may* be imposing some limitations, but more
likely your PHP script is timing out or something similar.
Justin
on 24/09/02 9:08 AM, Research and Development ([EMAIL PROTECTED]) wrote
PROTECTED]
(303)828-9882
- Original Message -
From: Justin French [EMAIL PROTECTED]
To: Research and Development [EMAIL PROTECTED]; PHP General List
[EMAIL PROTECTED]
Sent: Monday, September 23, 2002 7:57 PM
Subject: Re: [PHP] Mail problem with more than 1k users
This gets discussed quite
Hi again,
ok i found out now, that the problem is the From: ... Reply-To: header.
Whenever i leave those, the email gets delivered instantly, but included, the email
gets a delivery delay for about 3 hours.
Is there any other way, i can avoid getting the default email address as the sender,
Hi again,
ok, i found the (weird!) problem now:
Its not my server nor my ISP, but php (at least, i think so):
Here are the exact lines i used in my test script:
1st non working - delayed example:
mail($receiver,-Subject-,Here are your account details:\n\nusername:
$lp_name\npassword:
Does anyone have an idea, what might cause this problem?
Could it be the ISP, or do i need to add additional info, when i call the
mail() function in order to send emails outside my network?
Could be your ISP...
This is what i used to test if the emails get sent or not:
?
mail([EMAIL
. it should
give you some insight on what is going on with the error messages included
in the return mail.
Jim Lucas
- Original Message -
From: César L. Aracena [EMAIL PROTECTED]
To: PHP General List [EMAIL PROTECTED]
Sent: Wednesday, June 05, 2002 8:42 PM
Subject: RE: [PHP] mail() problem
Ok. I've
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then César L. Aracena declared
I have this strange problem where I can send e-mails from a PHP script to a common
e-mail address such as Hotmail's, but I can't send to my ISP-given e-mail address
(@infovia.com.ar). Does anyone happen to
Cesar:
What's the exact error message you are getting? or
there's no error message?
Are you running the PHP script in a local machine or a
server? What MTA are you using?
Regards,
Ivan
--- César_L._Aracena [EMAIL PROTECTED]
wrote:
Hi all,
I have this strange problem where I can send
you might want to test with a hotmail account as the return email address
and find out if they are bouncing your email. I had this problem once, and
in the return email it told me that I had miss formed headers. I got an
error 550 from the mail server. you might try setting in the headers of
Yes. I had something similar. Try putting 'Reply-To: [EMAIL PROTECTED]' in
the fourth argument for mail. For some reason some systems balk without
a reply address, I'm not certain why?
I questioned my ISP on that. They had something in their sendmail.exe
which prevented outgoing mail (scripts
Ok. I've done everything that all of you told me to do, but still can't
get to send e-mails to my ISP's mail address. I did all of the
following:
a) Append a Reply-To: [EMAIL PROTECTED] (Actually, its
[EMAIL PROTECTED] )
b) Send the e-mail to my Hotmail account, but everything seems fine. The
Hello,
On 06/06/2002 12:42 AM, César l . aracena wrote:
Ok. I've done everything that all of you told me to do, but still can't
get to send e-mails to my ISP's mail address. I did all of the
following:
a) Append a Reply-To: [EMAIL PROTECTED] (Actually, it?s
[EMAIL PROTECTED] )
b) Send
refer to the manual of your email server and check for quota settings.
You obviously reached the quota limit there and now
you're not allowed to send any data, until the quota is
reset. This may be on a daily or monthly basis or perhaps
you have to do it manually.
Regards Michael
Manisha [EMAIL
$arrText[$i] still contains the new-line character at the end. Is that
harmful here?
-Original Message-
From: Jack Davis [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 3:16 PM
To: [EMAIL PROTECTED]
Subject: [PHP] mail() problem...
I wrote a small piece of code to take a
On Wed, 3 Apr 2002, Jack Davis wrote:
mail($arrText[$i], $subject, $message, $headers);
mail (trim($arrText[$i]), $subject, $message, $headers);
miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
From: David Robley [EMAIL PROTECTED]
To: Peter Houchin Sun Rentals STR Manager [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: [PHP] mail problem
Date: Thu, 13 Sep 2001 14:51:36 +0930
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Mozilla-Status
On Thu, 13 Sep 2001 12:04, Peter Houchin Sun Rentals STR Manager wrote:
hiya
I have several scripts that send mail from web pages made in php.. now
these pages all work fine.
now all of a sudden php has stopped sending mail and I don't know why
System info
Unix box running Solaris 2.6
[EMAIL PROTECTED],
[EMAIL PROTECTED]
Date: Thu, 13 Sep 2001 12:17:12 +0930
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Subject: Re: [PHP] mail problem
X-Mozilla-Status:
X-Mozilla-Status2:
X-UIDL: a89ffd79c7882d9be6397af7041f38b1
On Thu, 13 Sep 2001 12:04, Peter Houchin Sun Rentals
On Thu, 13 Sep 2001 13:10, Peter Houchin Sun Rentals STR Manager wrote:
On Thu, 13 Sep 2001 12:04, Peter Houchin Sun Rentals STR Manager wrote:
hiya
I have several scripts that send mail from web pages made in php..
now these pages all work fine.
now all of a sudden php has stopped
[EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Date: Thu, 13 Sep 2001 13:28:27 +0930
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Subject: Re: [PHP] mail problem
X-Mozilla-Status:
X-Mozilla-Status2:
X-UIDL: b7314ef2bee84cb807f95a04acc39a3d
On Thu, 13 Sep
On Thu, 13 Sep 2001 13:43, Peter Houchin Sun Rentals STR Manager wrote:
SNIP headers: didja know dtmail was putting them in?
On Thu, 13 Sep 2001 13:10, Peter Houchin Sun Rentals STR Manager wrote:
On Thu, 13 Sep 2001 12:04, Peter Houchin Sun Rentals STR Manager
wrote:
hiya
I have
Hi!
It seems to be a php-specific problem. Check your php config file (in php4
it is php.ini). There you should find a line related to the smtp server.
Fill it with its correct content.
Balazs
On Wed, 4 Jul 2001, php wrote:
hai...
I have install php and i want to create email direct
snip
Below the code i use. Everything works, the $mailto variable is buils up
from a database and contains more then one email adresses. Now my
question: how can i make the receivers of my message NOT to see the
email addresses of all the receivers, so then can't reply to all?
/snip
The
Below the code i use. Everything works, the $mailto variable is buils up
from a database and contains more then one email adresses. Now my
question: how can i make the receivers of my message NOT to see the
email addresses of all the receivers, so then can't reply to all?
Send the
Now if i include
$headers .= "Cc: [EMAIL PROTECTED] " . " , ";
$headers .= "[EMAIL PROTECTED]\n";
My page won't load at all apart from the first include i have on my page..
does any one have any idea's?
Hiya,
am near
On Mon, 5 Mar 2001 14:17, Peter Houchin wrote:
Hiya,
am near completeion of a site only i can't get any mail to send to
multiple recipients at all .. either in the "To:" section or having on
email in "To" and one email address in "CC" section.. and i need to be
able to do this ... can
86 matches
Mail list logo