Re: [PHP] PROBLEM WITH MAIL FUNCTION

2006-07-09 Thread Manuel Lemos
Hello, Juanjo Pascual wrote: > I have a problem with the mail function when I send a mail with acents > or Ñ in the subject. When I receive the mail this caracters have been > replaced by X. > > I'm using the mail function in this way: > > mail([EMAIL PROTECTED], 'Consulta Señalítica desde la

Re: [PHP] PROBLEM WITH MAIL FUNCTION

2006-07-09 Thread Ligaya Turmelle
Juanjo Pascual wrote: Hello, I have a problem with the mail function when I send a mail with acents or Ñ in the subject. When I receive the mail this caracters have been replaced by X. I'm using the mail function in this way: mail([EMAIL PROTECTED], 'Consulta Señalítica desde la página web'

Re: [PHP] PROBLEM WITH MAIL FUNCTION

2006-07-06 Thread Martin Marques
On Thu, 6 Jul 2006, Juanjo Pascual wrote: Hello, I have a problem with the mail function when I send a mail with acents or Ñ in the subject. When I receive the mail this caracters have been replaced by X. I'm using the mail function in this way: mail([EMAIL PROTECTED], 'Consulta Señalítica

Re: [PHP] Problem with mail() on Debian

2006-02-23 Thread Manuel Lemos
Hello, on 02/23/2006 11:32 AM George Pitcher said the following: > My apache error.log says: > > sh: line 1: /usr/sbin/sendmail -t: no such file or directory /usr/sbin/sendmail is not the correct sendmail program path. The correct path is /usr/lib/sendmail . It may be odd that a program is loca

Re: [PHP] Problem with mail() on Debian

2006-02-23 Thread John Nichel
George Pitcher wrote: Jochem, personally I'd rather stick my head in a blender than use webmin to edit such conf files. (no I wouldn't but you get the point hopefully) how are you restarting apache? possibly your being told that the restart occured but really your being lied to ... try doing i

RE: [PHP] Problem with mail() on Debian

2006-02-23 Thread George Pitcher
Jochem, > > personally I'd rather stick my head in a blender than use webmin to edit > such conf files. (no I wouldn't but you get the point hopefully) > > how are you restarting apache? possibly your being told that the restart > occured but really your being lied to ... try doing it 'manually':

Re: [PHP] Problem with mail() on Debian

2006-02-23 Thread Jochem Maas
George Pitcher wrote: Manuel, I have found that any changes I make to php.ini are ignored, even after restarting Apache. I have been editing httpd.conf via Webmin, personally I'd rather stick my head in a blender than use webmin to edit such conf files. (no I wouldn't but you get the point h

RE: [PHP] Problem with mail() on Debian

2006-02-22 Thread George Pitcher
Manuel, > > I have found that any changes I make to php.ini are ignored, even after > > restarting Apache. I have been editing httpd.conf via Webmin, > which for most > > configs works fine (and is displayed in phpinfo(), the sendmail > changes are > > never displayed (always shows sendmail_path =

Re: [PHP] Problem with mail() on Debian

2006-02-22 Thread Manuel Lemos
Hello, on 02/23/2006 03:55 AM George Pitcher said the following: > Jochem, > > Thanks, but I tried that and it made no difference. > > I have found that any changes I make to php.ini are ignored, even after > restarting Apache. I have been editing httpd.conf via Webmin, which for most > configs

RE: [PHP] Problem with mail() on Debian

2006-02-22 Thread George Pitcher
displayed (always shows sendmail_path = /usr/sbin/sendmail). Cheers George > -Original Message- > From: Jochem Maas [mailto:[EMAIL PROTECTED] > Sent: 22 February 2006 7:01 pm > To: George Pitcher; [php] PHP General List > Subject: Re: [PHP] Problem with mail() on Debian >

Re: [PHP] Problem with mail() on Debian

2006-02-22 Thread Jochem Maas
George Pitcher wrote: Hi, I am in the process of moving from Windows (NT/XP) to Linux. I'm starting with a new small application which I have working on my Windows XP laptop. On my Linux box, I have php.ini saying: search this page for 'exim' - it should help: http://php.net/mail sendmail

Re: [PHP] problem with Mail function

2006-02-05 Thread sunaram patir
Dude, Do not use $to = "$email"; instead $to=$email; But i didn't even know what is your problem! On 2/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > This may be a bit to obvious, but I miss little stuff all the time. > > You wouldn't happen to have the if(mail(...)) in some form of l

Re: [PHP] problem with Mail function

2006-02-05 Thread sub
This may be a bit to obvious, but I miss little stuff all the time. You wouldn't happen to have the if(mail(...)) in some form of loop would you? or perhaps $to is getting assigned the e-mail address like "[EMAIL PROTECTED] [EMAIL PROTECTED]" can you check the value of $email before you assign it

Re: [PHP] problem with mail()

2005-03-01 Thread Richard Lynch
Stefan Sturm wrote: > I'm using the script below to send ascii files attached to mails via > mail(). > I'm running the script on different servers and it works fine. Now I got a > problem on windows server 2003. The attachment of the mail is disturbed, > the > first 76 characters are missing, the r

Re: [PHP] problem with mail() and attachment

2005-03-01 Thread AdamT
On Sun, 27 Feb 2005 08:23:26 +0100, Stefan Sturm <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using the script below to send ascii files attached to mails via mail(). snip > Has anybody got an idea where the problem could be? > It appears that your mailserver has developed a fault and is sending all

Re: [PHP] Problem with mail()

2004-06-17 Thread Curt Zirzow
* Thus wrote Keith Aldridge ([EMAIL PROTECTED]): > New to php, can't see the problem with mail(). > > > > Server running 4.0.0 > > Path to sendmail: /var/sbin/sendmail Please don't double/quad space, it makes things hard to read > ... > > if (mail($to, $subj, $body)) { > > echo

Re: [PHP] Problem with mail()

2004-06-17 Thread qwerty
This should work: if (mail($to, $subj, $bodytext)) { echo "Mail send"; } else { echo "... something go wrong: } One tip: when configuring/installing php, if there is not /usr/bin/sendmail it asumes that there is no way of send mails so mail function always return false, check that just in case.

Re: [PHP] Problem with mail()

2004-06-17 Thread Ashwin Purohit
So what do you get as the error message? Does it just return failed? Also, I think using parentheses with echo statements like yours is unnecessary. > Keith Aldridge wrote: > New to php, can't see the problem with mail(). > if (mail($to, $subj, $body)) { echo "Successful send"; } > else { echo "F

Re: [PHP] Problem with mail()

2004-06-17 Thread John Nichel
Keith Aldridge wrote: New to php, can't see the problem with mail(). if (mail($to, $subj, $body)) { echo ("Successful send"); } else { echo ("Failed"); } ?> Please don't send email to a mailing list asking for read reciepts. Can the box that you're testing this script on s

Re: [PHP] Problem with mail() function and exec

2003-11-26 Thread th3 th1nk3r
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stardate Thursday 27 November 2003 02:08 Capt. Lord th1nk3r Class C-1 msg from Rasmus Lerdorf > Do you have /bin/sh inside your jail? Thanks I'm stupid. It was that easy. Thanks again ;) - -- -

Re: [PHP] Problem with mail() function and exec

2003-11-26 Thread Rasmus Lerdorf
Do you have /bin/sh inside your jail? On Thu, 27 Nov 2003, th3 th1nk3r wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > I have a great problem. I hava an apache 1.3.28 + php 4.3.3 installation into > a chroot jail in my Linux box. Into the jail I have installed postfix (with

Re: [PHP] problem with mail()

2002-08-16 Thread Analysis & Solutions
On Wed, Aug 14, 2002 at 10:04:46AM -0700, Gui Guy wrote: > > ...: SYSERR(nobody): Can't create transcript file ./xfg7E9Jlr03988: > Permission denied > : SYSERR(nobody): Cannot create ./dfg7E9Jlr03988: Permission denied > > Does it mean that php is trying to send mail from user nobody? Good

RE: [PHP] Problem with mail()

2001-09-29 Thread Michael Katz
Good call, rtrim() seems to have brought back my sanity! -Original Message- From: ReDucTor [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 29, 2001 10:28 AM To: Martín Marqués; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Problem with mail() You might want to check if there

RE: [PHP] Problem with mail function

2001-03-26 Thread Ankur Verma
The mail function uses the specified SMTP mail server to send out the mail. you will need to set the php.ini variables as follows SMTP= localhost ; The name or IP address of the machine which is running the SMTP Server. for ex

Re: [PHP] Problem with mail function

2001-03-26 Thread Carsten Gehling
From: "Sonya Davey / QDCEL" <[EMAIL PROTECTED]> Sent: Monday, March 26, 2001 10:55 AM > 1.What must I configure thse settings in my php.ini file to? > SMTP = localhost > sendmail_from = [EMAIL PROTECTED] SMTP must be set to the address of a SMTP-server (Simple Mail Transfer Protocol) - that is