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

[PHP] PROBLEM WITH MAIL FUNCTION

2006-07-06 Thread Juanjo Pascual
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', 'Hola, esto es una p

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

[PHP] Problem with mail() on Debian

2006-02-21 Thread George Pitcher
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: sendmail_path /usr/sbin/sendmail That 'sendmail' is a symbolic link to exim4 in the same directory. I

Re: [PHP] problem with Mail function

2006-02-05 Thread sunaram patir
gt; > - Original Message - > From: "Tariq Dalvi" <[EMAIL PROTECTED]> > To: > Sent: Sunday, February 05, 2006 6:55 PM > Subject: [PHP] problem with Mail function > > > > Hello everyone, > > > > I m using php mail function it dose everyting f

Re: [PHP] problem with Mail function

2006-02-05 Thread sub
fore you assign it? ~Drew www.drewpydraws.com - Original Message - From: "Tariq Dalvi" <[EMAIL PROTECTED]> To: Sent: Sunday, February 05, 2006 6:55 PM Subject: [PHP] problem with Mail function > Hello everyone, > > I m using php mail function it dose everytin

[PHP] problem with Mail function

2006-02-05 Thread Tariq Dalvi
Hello everyone, I m using php mail function it dose everyting fine besides it prints message twise in the email body can someone please have a look what i m doing wrong the code is as follows : $to = "$email"; $subject = "someting goes here \n\n"; $headers = "From: [EMAIL PROTECTED]" . "X-Mailer

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

[PHP] problem with mail()

2005-03-01 Thread Stefan Sturm
Hi, 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 rest of the attachment is co

[PHP] Problem with mail() and attachment

2005-02-28 Thread Stefan Sturm
Hi, 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 rest of the attachment is co

[PHP] problem with mail() and attachment

2005-02-28 Thread Stefan Sturm
Hi, 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 rest of the attachment is co

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

[PHP] Problem with mail()

2004-06-17 Thread Keith Aldridge
New to php, can't see the problem with mail(). Server running 4.0.0 Path to sendmail: /var/sbin/sendmail Using a simple form for test purposes, collect three pieces of info: name, address, csz then POST to the page containing the code below. All of the echo statements produce the expec

[PHP] problem with mail()

2004-03-25 Thread jdavis
hello, I have a php script that i have ran on a linux and bsd box, on both boxes the script will work and sendmail for a while, then it just seems to stop working. Does anyone have a idea why this is. thanks, -- jdavis <[EMAI

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

[PHP] Problem with mail() function and exec

2003-11-26 Thread th3 th1nk3r
-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 his sendmail executable) and I can send mails with it (I run it like a chroot user to test

[PHP] Problem with mail

2003-04-01 Thread Haseeb Iqbal
hi all while sending mail from php i keep getting this "Server Error " on line 2 and this is on line 2 mail("[EMAIL PROTECTED]", "the subject", "hi","From: [EMAIL PROTECTED]"."Reply-To: [EMAIL PROTECTED]"."X-Mailer: PHP/" . phpversion()); what is wrong with this what i am going wrong ?? regards

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

[PHP] problem with mail()

2002-08-14 Thread Gui Guy
I'm trying to send email from php and nothing happens. Sendmail is correctly setup in php.ini. When I checked the maillog file I see: ...: SYSERR(nobody): Can't create transcript file ./xfg7E9Jlr03988: Permission denied : SYSERR(nobody): Cannot create ./dfg7E9Jlr03988: Permission denied Doe

[PHP] problem with mail()/html/outlook

2002-02-04 Thread ryan-php
I'm trying to send an html email via a php script, but I'm running into a rather bizarre problem. I can get it to send the email just fine, but when it is read on windows Outlook (macintosh outlook express are unaffected) clients, it strips two characters after any '=' signs, so it plays havoc

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

[PHP] Problem with mail subject

2001-07-12 Thread umesh DESHMUKH
Hi Gurus, I am using PHP4, I am using mail function which has Japanese subject, I am using 'iso-2022-jp' charser for japanese mail body. The problem the Japanese subject is seen corrupted, can anyone pls. tell me what should I do to change the charset of Subject to 'iso-2022-jp' so that the sub

RE: [PHP] Problem with mail function

2001-03-26 Thread Ankur Verma
]] Sent: Monday, March 26, 2001 2:25 PM To: '[EMAIL PROTECTED]' Subject: [PHP] Problem with mail function Hi, Can anyone help me the mail function. I am using PHP 4.04, on Windows 98,with PWS. 1.What must I configure thse settings in my php.ini file to? SMTP=

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

[PHP] Problem with mail function

2001-03-26 Thread Sonya Davey / QDCEL
Hi, Can anyone help me the mail function. I am using PHP 4.04, on Windows 98,with PWS. 1.What must I configure thse settings in my php.ini file to? SMTP= localhost sendmail_from = [EMAIL PROTECTED] 2.Why does this code give me the following error?