Re: [PHP] mail problem (newlines becomes =0A)

2008-06-19 Thread Daniel Brown
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 the

Re: [PHP] mail problem (newlines becomes =0A)

2008-06-19 Thread Jim Lucas
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 "" assignment? As far as i k

Re: [PHP] mail problem (newlines becomes =0A)

2008-06-19 Thread Jim Lucas
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 "" assignment? As far as i k

[PHP] mail problem (newlines becomes =0A)

2008-06-19 Thread Daniel Brown
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 "" assignment? > As far as i know they both do

Re: [PHP] mail problem (newlines becomes =0A)

2008-06-18 Thread Daniel Brown
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.

Re: [PHP] mail problem (newlines becomes =0A)

2008-06-18 Thread Wolf
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 test

[PHP] mail problem (newlines becomes =0A)

2008-06-18 Thread debussy007
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 my gmail addr

Re: [PHP] mail problem - deadline!!!!!

2007-08-07 Thread Tijnema
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

[PHP] mail problem - deadline!!!!! - SOLVED

2007-08-06 Thread Luc
Good evening list, Solved the problem myself :-) i changed the mail function instead of $youremail = '[EMAIL PROTECTED]', i used $to = "" and changed the mail fuction from: @mail($contato_email,$subjectline,$body, "From: $contato_email"); into @mail($to,$subjectline,$bod

[PHP] Re: PHP mail() problem

2007-03-20 Thread Manuel Lemos
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-Enco

Re: [PHP] PHP mail() problem

2007-03-20 Thread Richard Lynch
On Tue, March 20, 2007 4:54 am, Delta Storm wrote: Disclosure: What I understand of Unicode could fit in a matchbook... > I'm having problem with character encoding in PHP mail functions. > > CODE: > $headers.= "Content-Type: text/html; charset=iso-8859-1"; > $headers .= "MIME-Versi

Re: [PHP] PHP mail() problem

2007-03-20 Thread Puskás Zsolt ( Errotan )
Hi. Recently I have this kind of issue. This is a possible solution: $text="message text"; $subject="message subject"; $header="From: [EMAIL PROTECTED]". "MIME-Version: 1.0\r\n". "Content-type: text/html; charset=utf-8\r\n". "Content-Transfer-Encoding: 8bit\r\n"; $subjec

Re: [PHP] PHP mail() problem

2007-03-20 Thread Németh Zoltán
2007. 03. 20, kedd keltezéssel 10.54-kor Delta Storm ezt írta: > 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-T

[PHP] PHP mail() problem

2007-03-20 Thread Delta Storm
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: 8bit".$eol.$eol; $headers .="Content-Type: multipart/a

Re: [PHP] Mail Problem

2006-09-26 Thread Curt Zirzow
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

Re: [PHP] Mail Problem

2006-09-26 Thread Curt Zirzow
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 star

Re: [PHP] Mail Problem

2006-09-26 Thread Richard Lynch
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 "Boun

Re: [PHP] Mail Problem

2006-09-26 Thread Richard Lynch
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

Re: [PHP] Mail Problem

2006-09-26 Thread Travis Doherty
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 usin

Re: [PHP] Mail Problem

2006-09-26 Thread Richard Lynch
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

Re: [PHP] Mail Problem

2006-09-26 Thread Richard Lynch
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

Re: [PHP] Mail Problem

2006-09-26 Thread travis
> 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.

Re: [PHP] Mail Problem

2006-09-26 Thread Kevin Murphy
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 (!preg_match("/^(.+)@[a-zA-Z0-

[PHP] Mail Problem

2006-09-26 Thread php
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 have our

Re: [PHP] mail problem

2006-02-07 Thread Angelo Zanetti
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

Re: [PHP] mail problem

2006-02-06 Thread Chris
d there be with php5? - Original Message - *From:* PHP <mailto:[EMAIL PROTECTED]> *To:* php <mailto:php-general@lists.php.net> *Sent:* Monday, February 06, 2006 10:35 AM *Subject:* [PHP] mail problem Hi, I upgraded to apache 2.2 and php5, now a

Re: [PHP] mail problem

2006-02-06 Thread 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

[PHP] mail problem

2006-02-06 Thread PHP
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 Fre

Re: [PHP] mail() Problem

2005-05-09 Thread Richard Lynch
On Mon, May 9, 2005 4:02 pm, Mary-Anne Nayler said: > Fatal error: Call to undefined function: mail() in script> on line 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 decided that to stop spammers a

Re: [PHP] mail() Problem

2005-05-09 Thread dan
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 on line I have tried changing some ma

[PHP] mail() Problem

2005-05-09 Thread Mary-Anne Nayler
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 on line I have tried changing some mail config details in php.

Re: [PHP] mail problem

2005-04-29 Thread Brent Baisley
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 han

[PHP] mail problem

2005-04-29 Thread Ross
I get the following mail problem when trying to send from localhost. Any ideas? Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for [EMAIL PROTECTED] in c:\Inetpub\wwwroot\ssn\adv_mail.php on line 179 R. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Mail problem with PEAR

2005-04-12 Thread Josip Dzolonga
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 a

[PHP] Mail problem with PEAR

2005-04-12 Thread marc serra
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 attached file, the mail is send 4 times to the SMTP serve

Re: [PHP] mail problem at interland

2005-01-28 Thread Richard Lynch
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"; >> $heade

Re: [PHP] mail problem at interland

2005-01-28 Thread Jason Wong
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 t

Re: [PHP] mail problem at interland

2005-01-28 Thread R'twick Niceorgaw
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 .= "F

Re: [PHP] mail problem at interland

2005-01-28 Thread David Robley
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. Ho

Re: [PHP] mail problem at interland

2005-01-27 Thread Jason Wong
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

[PHP] mail problem at interland

2005-01-27 Thread David Edwards
Hi, 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 appear at their intended destination. Interland support

Re: [PHP] mail() problem

2004-11-24 Thread Jon-Eirik Pettersen
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]

[PHP] mail() problem

2004-11-24 Thread Johan van Zyl
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] (via godaddy) it do

Re: [PHP] mail problem

2004-07-11 Thread Aidan Lister
> 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

Re: [PHP] mail problem

2004-07-11 Thread Dennis Seavers
.S.: Aidan 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: [PH

Re: [PHP] mail problem

2004-07-11 Thread Justin Patrin
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

Re: [PHP] mail problem

2004-07-10 Thread Jason Wong
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 fun

[PHP] mail problem

2004-07-10 Thread Joao Gomes
Hi, 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: and changed the php.ini to: [mail function] ; For Win32 only. SMTP = [EMAIL PROTECTED] smtp_port =

RE: [PHP] mail() problem

2004-06-02 Thread Larry Brown
lto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 8:35 PM To: [EMAIL PROTECTED] Subject: [PHP] mail() problem Hi All, Does anyone know a good format for sending email using the mail() function that doesnt get stopped by antispam software? I need to send and email from my sever when a new memb

[PHP] mail() problem

2004-06-02 Thread Rick
Hi All, Does anyone know a good format for sending email using the mail() function that doesnt get stopped by antispam software? I need to send and email from my sever when a new member creates an account, this ive done but my email gets binned straight away? must be the headers? Regards Ric

Re: [PHP] Mail problem

2003-09-23 Thread Trevor Dowling
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 s

Re: [PHP] Mail problem

2003-09-23 Thread Trevor Dowling
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] > *

Re: [PHP] Mail problem

2003-09-22 Thread Curt Zirzow
* 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

Re: [PHP] Mail problem

2003-09-22 Thread Rob Adams
[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 scri

RE: [PHP] Mail problem

2003-09-22 Thread chris . neale
while... Regards Chris -Original Message- From: Trevor Dowling [mailto:[EMAIL PROTECTED] Sent: 22 September 2003 16:46 To: [EMAIL PROTECTED] Subject: [PHP] Mail problem 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&#

RE: [PHP] Mail problem

2003-09-22 Thread Jay Blanchard
[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 se

[PHP] Mail problem

2003-09-22 Thread Trevor Dowling
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 about 2000 mails before the page say complete/done. Below i

Re: [PHP] Mail() Problem Sending

2003-08-19 Thread Ivo Fokkema
"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 sho

Re: [PHP] Mail() Problem Sending

2003-08-19 Thread Curt Zirzow
* 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 see

Re: [PHP] Mail() Problem Sending

2003-08-19 Thread Ivo Fokkema
"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 ca

Re: [PHP] Mail() Problem Sending

2003-08-18 Thread raditha dissanayake
write lots of "extra headers" in the e-mails in order to pass their guard. HTH Cesar Aracena www.icaam.com.ar -Mensaje original- De: Ben C. [mailto:[EMAIL PROTECTED] Enviado el: Lunes, 18 de Agosto de 2003 06:28 p.m. Para: [EMAIL PROTECTED] Asunto: [PHP] Mail() Problem Sending

RE: [PHP] Mail() Problem Sending

2003-08-18 Thread Cesar Aracena
to pass their guard. HTH Cesar Aracena www.icaam.com.ar > -Mensaje original- > De: Ben C. [mailto:[EMAIL PROTECTED] > Enviado el: Lunes, 18 de Agosto de 2003 06:28 p.m. > Para: [EMAIL PROTECTED] > Asunto: [PHP] Mail() Problem Sending > > I have recently had php i

Re: [PHP] Mail() Problem Sending

2003-08-18 Thread Michael A Smith
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

[PHP] Mail() Problem Sending

2003-08-18 Thread Ben C .
I have recently had php installed on my server with sendmail. The server is behind a firewall and SMTP is open on the firewall. However, when I execute the mail(), it appears to have sent the mail, but I never receive it. I am not getting any error messages. Has anyone ever run into this pro

[PHP] mail problem

2003-07-26 Thread Paul Marinas
Hi, i have to send some e-mails with pictures, in html format, i was wondering if anyone knows where to find a php class that dose this. Thanks, Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Mail() "problem"

2003-06-17 Thread Maikel Verheijen
Hi Don, > > $cmd='/bin/sh -c "set"'; > > passthru($cmd); > echo ''; > putenv("REMOTE_ADDR=$REMOTE_ADDR"); > passthru($cmd); > echo ''; > > ?> > 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 t

Re: [PHP] Mail() "problem"

2003-06-15 Thread Don Read
On 10-Jun-2003 Maikel Verheijen wrote: > > 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 cl

[PHP] Mail() "problem"

2003-06-10 Thread Maikel Verheijen
Hi list, Has anyone ever tried to use "REMOTE_ADDR" to be sent along with emails sent from php-scripts that use the "mail()" function? I have built a small auto-relaying sendmail (crudely based on mini-sendmail, http://www.acme.com/software/mini_sendmail/) that adds a "received" header containing

RE: [PHP] mail() problem affecting output to browser on completion

2003-06-07 Thread John W. Holmes
> 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

[PHP] mail() problem affecting output to browser on completion

2003-06-07 Thread PHP4 Emailer
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 predetermine

Re: [PHP] Mail problem

2003-05-27 Thread Mark
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 probl

Re: [PHP] mail() problem

2002-12-11 Thread DL Neil
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

Re: [PHP] mail() problem

2002-12-11 Thread Chris Hewitt
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 (

Re: [PHP] mail() problem

2002-12-11 Thread Chris Hewitt
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 b

[PHP] mail() problem

2002-12-11 Thread Carlos Alberto Pinto Hurtado
i setting php.ini [mail function] ;For Win32 only SMTP = hermes.ica.gov.co sendmail_from = [EMAIL PROTECTED] i invoke 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.

Re: [PHP] mail() problem...

2002-11-22 Thread Duncan
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 "no

Re: [PHP] mail() problem...

2002-11-22 Thread Sara Keesler
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 s

Re: [PHP] mail() problem...

2002-11-22 Thread Marek Kilimajer
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 cha

[PHP] mail() problem...

2002-11-22 Thread Duncan
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 that? i don't mean the "From:" header, but the real sender header of the email... e.g.

Re: [PHP] mail problem Sendmail 8.12.4

2002-10-08 Thread Chris Hewitt
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 PROTE

Re: [PHP] mail problem Sendmail 8.12.4

2002-10-08 Thread Devin Atencio
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:

Re: [PHP] mail problem Sendmail 8.12.4

2002-10-08 Thread Adam Voigt
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

[PHP] mail problem Sendmail 8.12.4

2002-10-08 Thread Devin Atencio
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 the path 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 stard

Re: [PHP] Mail problem with more than 1k users

2002-09-23 Thread Peter Janett
EMAIL 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: [PH

Re: [PHP] Mail problem with more than 1k users

2002-09-23 Thread Philip J. Newman
D]> Sent: Tuesday, September 24, 2002 1:57 PM Subject: Re: [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. &g

Re: [PHP] Mail problem with more than 1k users

2002-09-23 Thread Justin French
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: > Hello. I wrote a PHP script that will pull

RE: [PHP] Mail problem with more than 1k users

2002-09-23 Thread Mark Charette
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 wrote

[PHP] Mail problem with more than 1k users

2002-09-23 Thread Research and Development
Hello. I wrote a PHP script that will pull records from a database (emails) and then mail something to the emails in the result set. Pretty simple and it worked. Now that the database has over 1 thousand records I began to experience performance problems. I figured that my problem was that Sen

[PHP] Mail problem

2002-08-30 Thread Mark Colvin
The script below works on my development web server which sits on our company LAN. When I transfer the script to our isp hosted webserver, the script does not work. I changed 192.168.10.9/iarnaweb/ to read localhost/ for the isp webserver version (I have also tried replacing localhost with the act

Re: [PHP] mail() problem

2002-07-14 Thread Duncan
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: ".ba

Re: [PHP] mail() problem

2002-07-14 Thread Duncan
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,

Re: [PHP] mail() problem

2002-07-13 Thread Chris Knipe
> 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 PRO

[PHP] mail() problem

2002-07-13 Thread Duncan
Hi, i am currently having some problems with the mail() function, because emails don't get send, or if they do, they arrive with a huge delay. (~ 5% of mail() sent emails arrive) This only happens, if i try to email s.o. outside my network. Does anyone have an idea, what might cause this proble

Re: [PHP] mail() problem

2002-06-07 Thread Jim lucas
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 S

Re: [PHP] mail() problem

2002-06-05 Thread Manuel Lemos
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)

RE: [PHP] mail() problem

2002-06-05 Thread César L . Aracena
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 the e-mail to my Hotmail account, but everything seems fine. The a

Re: [PHP] mail() problem

2002-06-05 Thread John Taylor-Johnston
> 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 (scrip

Re: [PHP] mail() problem

2002-06-05 Thread Jim lucas
e 05, 2002 9:29 AM Subject: [PHP] mail() problem Hi all, 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 know why is it that mak

Re: [PHP] mail() problem

2002-06-05 Thread Ivan Hernandez
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

Re: [PHP] mail() problem

2002-06-05 Thread Nick Wilson
-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

  1   2   >