RE: [PHP] two small issues with php mail

2007-11-19 Thread Brad
, 2007 9:48 PM To: Brad Cc: Andrés Robinet; php-general@lists.php.net Subject: Re: [PHP] two small issues with php mail Note this code is untested and directly typed from a phone. ?php $to = '[EMAIL PROTECTED]'; $subject = 'Free iPod!'; $message = 'Even though I will be filtered, get your FREE

RE: [PHP] two small issues with php mail

2007-11-19 Thread Andrés Robinet
] Sent: Monday, November 19, 2007 11:49 PM To: php-general@lists.php.net Subject: FW: [PHP] two small issues with php mail -Original Message- From: Brad [mailto:[EMAIL PROTECTED] Sent: Monday, November 19, 2007 9:48 PM To: 'Chris' Subject: RE: [PHP] two small issues with php

Re: [PHP] two small issues with php mail

2007-11-19 Thread Casey
:[EMAIL PROTECTED] Sent: Monday, November 19, 2007 9:48 PM To: Brad Cc: Andrés Robinet; php-general@lists.php.net Subject: Re: [PHP] two small issues with php mail Note this code is untested and directly typed from a phone. ?php $to = '[EMAIL PROTECTED]'; $subject = 'Free iPod

Re: [PHP] two small issues with php mail

2007-11-19 Thread Jim Lucas
Brad wrote: It makes sense, but the Bcc is still not making it through. Not sure if the smtp portion is correct either. No parse errors, but no email from the bcc either. ? $email = $_REQUEST['email']; $fromaddress = '[EMAIL PROTECTED]'; $fromname = 'Zone of success Club'; $eol = \r\n; $smtp =

[PHP] Mail function doesn't work

2007-11-05 Thread Alberto García Gómez
What could happen that my mail function isn't working. I check twice my php.ini conf and it's fine. I test sendmail manually and it's OK. I also try to send mails with sendmail stoped and started and nothing happen Este correo ha sido enviado desde el Politécnico de Informática Carlos Marx de

RE: [PHP] Mail function doesn't work

2007-11-05 Thread Jay Blanchard
[snip] What could happen that my mail function isn't working. I check twice my php.ini conf and it's fine. I test sendmail manually and it's OK. I also try to send mails with sendmail stoped and started and nothing happen [/snip] Can we see your code? -- PHP General Mailing List

Re: [PHP] Mail function doesn't work

2007-11-05 Thread Per Jessen
Alberto García Gómez wrote: What could happen that my mail function isn't working. I check twice my php.ini conf and it's fine. I test sendmail manually and it's OK. I also try to send mails with sendmail stoped and started and nothing happen Does your mail-server otherwise work? /Per

Re: [PHP] Mail function doesn't work

2007-11-05 Thread Jim Lucas
Alberto García Gómez wrote: What could happen that my mail function isn't working. I check twice my php.ini conf and it's fine. I test sendmail manually and it's OK. I also try to send mails with sendmail stoped and started and nothing happen Este correo ha sido enviado desde el Politécnico

[PHP] mail and quotes

2007-11-02 Thread Stefano Esposito
Hi all, when i send a mail using mail(), every quote and double quote in the subject and in the body of the mail get escaped. Since this is somewhat ugly, especially in languages which widely uses the single quotes (as italian does), i am wandering if there is someway to avoid this. Thanks for

Re: [PHP] mail and quotes

2007-11-02 Thread Jim Lucas
Stefano Esposito wrote: Hi all, when i send a mail using mail(), every quote and double quote in the subject and in the body of the mail get escaped. Since this is somewhat ugly, especially in languages which widely uses the single quotes (as italian does), i am wandering if there is someway to

[PHP] mail from

2007-10-25 Thread Diana
in my php.ini, I have this set sendmail_from = [EMAIL PROTECTED] yet when I do this command :([EMAIL PROTECTED],TEST MAIL,TESTING MAIL); I get this message Warning: mail() [function.mail]: sendmail_from not set in php.ini or custom From: header missing in C:\Inetpub\wwwroot\intranet\test.php

Re: [PHP] mail from

2007-10-25 Thread Richard Heyes
on line 4 And if instead of using the php.ini directive you use the fourth argument to mail()? Eg: ?php mail([EMAIL PROTECTED], TEST MAIL, TESTING MAIL, '[EMAIL PROTECTED]'); ? -- Richard Heyes +44 (0)800 0213 172 http://www.websupportsolutions.co.uk Knowledge

Re: [PHP] mail from

2007-10-25 Thread Richard Heyes
\wwwroot\intranet\test.php on line 4 And if instead of using the php.ini directive you use the fourth argument to mail()? Eg: ?php mail([EMAIL PROTECTED], TEST MAIL, TESTING MAIL, '[EMAIL PROTECTED]'); ? Oops. That should be: ?php mail([EMAIL PROTECTED

Re: [PHP] mail from

2007-10-25 Thread Daniel Brown
in php.ini or custom From: header missing in C:\Inetpub\wwwroot\intranet\test.php on line 4 And if instead of using the php.ini directive you use the fourth argument to mail()? Eg: ?php mail([EMAIL PROTECTED], TEST MAIL, TESTING MAIL, '[EMAIL

RE: [PHP] mail from

2007-10-25 Thread Instruct ICC
in my php.ini, I have this set sendmail_from = [EMAIL PROTECTED] The first thing I'd do is verify if the script is really using the php.ini you think it is by having the script output phpinfo. _ Peek-a-boo FREE Tricks Treats

[PHP] mail doesnt work

2007-09-06 Thread Diana Castillo
when I try to send mail using this code: mail([EMAIL PROTECTED],TEST MAIL,TESTING MAIL); I get this error: Warning: mail() [function.mail]: SMTP server response: 554 [EMAIL PROTECTED]: Recipient address rejected: Access denied in C:\Inetpub\wwwroot\intranet\test.php on line 4 my settings in

[PHP] mail() takes too much time

2007-09-02 Thread shiplu
Hello everybody, I am maintaining a social network site. there each user can send other mail. these mails are not real mail rather message entry to database. I added a new feature so that every message is sent to me (admin/webmaster) via email (real e-mail). I used mail function. THis is a simple

Re: [PHP] mail() takes too much time

2007-09-02 Thread Stut
shiplu wrote: I am maintaining a social network site. there each user can send other mail. these mails are not real mail rather message entry to database. I added a new feature so that every message is sent to me (admin/webmaster) via email (real e-mail). I used mail function. THis is a simple

Re: [PHP] mail() takes too much time

2007-09-02 Thread Gavin M. Roy
You might want to consider a few things: Queueing your email in a database table and sending it out in a separate process. or Finding a mail daemon that will queue quickly for you and not send directly on adding to the queue. I use the first of the two options and it works quite well for us.

Re: [PHP] mail() takes too much time

2007-09-02 Thread brian
shiplu wrote: Hello everybody, I am maintaining a social network site. there each user can send other mail. these mails are not real mail rather message entry to database. I added a new feature so that every message is sent to me (admin/webmaster) via email (real e-mail). I used mail function.

[PHP] mail() silly question

2007-09-01 Thread Rodrigo Poblanno Balp
I have a question that might be too silly for those of you who are PHP gurus. Here it comes: I had a mail (specifically in the headers) function call like this: $header = ; $header .= 'From: [EMAIL PROTECTED]; $header .= 'MIME-Version: 1.0\r\n; $header .= 'Content-type: text/html;

Re: [PHP] mail() silly question

2007-09-01 Thread Ludovic André
Hi, Question: Why? What's the real difference between $header .= 'From: [EMAIL PROTECTED]' . \r\n; and $header .= 'From: [EMAIL PROTECTED]; Your second declaration is incorrect: you start with a single quote ('), and you end with a double (). So, you'd say ok, let's fix it: $header .=

Re: [PHP] mail() silly question

2007-09-01 Thread chris smith
On 9/1/07, Rodrigo Poblanno Balp [EMAIL PROTECTED] wrote: I have a question that might be too silly for those of you who are PHP gurus. Here it comes: I had a mail (specifically in the headers) function call like this: $header = ; $header .= 'From: [EMAIL PROTECTED]; $header .=

RE: [PHP] mail() silly question

2007-09-01 Thread Bastien Koert
no difference bastien Date: Sat, 1 Sep 2007 08:00:11 -0500 From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] mail() silly question I have a question that might be too silly for those of you who are PHP gurus. Here it comes: I

RE: [PHP] mail() silly question

2007-09-01 Thread Brian Seymour
://www.aerocore.net/ Cell: (413) 335-2656 -Original Message- From: Rodrigo Poblanno Balp [mailto:[EMAIL PROTECTED] Sent: Saturday, September 01, 2007 9:00 AM To: php-general@lists.php.net Subject: [PHP] mail() silly question I have a question that might be too silly for those of you who are PHP gurus

[PHP] mail() issue

2007-08-22 Thread Dan Shirah
Hello All, I am having an issue with mail. include '../../Process/include/LDAP.php'; echo $user_email; $to = $user_email; $subject = 'Request Submitted Successfully!'; $message = Congratulations!\nYour request has been successfully submitted.\nThis is an automated email, please do not reply.;

RE: [PHP] mail() issue

2007-08-22 Thread Jay Blanchard
[snip] PHP Warning: mail() [function.mailhttp://develop1/credit%20card%20processing/Submit/ChildSu pport/function.mail]: SMTP server response: 504 br /: Recipient address rejected: need fully-qualified address. The value of $user_email when it is echoed out above is [EMAIL PROTECTED] [/snip]

Re: [PHP] mail() issue

2007-08-22 Thread Dan Shirah
The . (period) is simply the end of my sentance in the email. The From address is specified in the php.ini and is fully qualified. If I hard code the value of $to into the mail function it works fine. $user_email = [EMAIL PROTECTED] $to = [EMAIL PROTECTED] mail($to, $subject, $message); = PHP

RE: [PHP] mail() issue

2007-08-22 Thread Jay Blanchard
[snip] The . (period) is simply the end of my sentance in the email.   The From address is specified in the php.ini and is fully qualified.   If I hard code the value of $to into the mail function it works fine.   $user_email = [EMAIL PROTECTED] $to = [EMAIL PROTECTED]   mail($to, $subject,

RE: [PHP] mail() issue

2007-08-22 Thread Edward Kay
-Original Message- From: Dan Shirah [mailto:[EMAIL PROTECTED] Sent: 22 August 2007 13:28 To: Jay Blanchard Cc: php-general Subject: Re: [PHP] mail() issue The . (period) is simply the end of my sentance in the email. The From address is specified in the php.ini and is fully

Re: [PHP] mail() issue

2007-08-22 Thread Dan Shirah
[mailto:[EMAIL PROTECTED] Sent: 22 August 2007 13:28 To: Jay Blanchard Cc: php-general Subject: Re: [PHP] mail() issue The . (period) is simply the end of my sentance in the email. The From address is specified in the php.ini and is fully qualified. If I hard code the value

RE: [PHP] mail() issue

2007-08-22 Thread Bastien Koert
try doing a trim($email) to remove any whitespace, just in case bastien Date: Wed, 22 Aug 2007 08:27:36 -0400 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: php-general@lists.php.net Subject: Re: [PHP] mail() issue The . (period) is simply the end of my sentance in the email. The From

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,$body,

Re: [PHP] Problem with php mail

2007-08-05 Thread Richard Heyes
I'm having problem with php mail. When I try to create an html message with only a href='mydomain.com'mydomain/a, gmail is registering it as a spam while yahoo is not. Can you suggest solutions to my problem. Try sending a real message. Messages being too small is one indicator

RE: [PHP] Problem with php mail

2007-08-05 Thread Bastien Koert
mail Hi Everyone, I'm having problem with php mail. When I try to create an html message with only mydomain, gmail is registering it as a spam while yahoo is not. Can you suggest solutions to my problem. Thanks, Jason Send instant messages to your online friends http

Re: [PHP] Problem with php mail

2007-08-05 Thread Tijnema
On 8/5/07, Jason Sia [EMAIL PROTECTED] wrote: Hi Everyone, I'm having problem with php mail. When I try to create an html message with only a href='mydomain.com'mydomain/a, gmail is registering it as a spam while yahoo is not. Can you suggest solutions to my problem. Thanks, Jason

Re: [PHP] Problem with php mail

2007-08-05 Thread Carlton Whitehead
) Regards, Carlton Whitehead - Original Message - From: Tijnema [EMAIL PROTECTED] To: Jason Sia [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Sunday, August 5, 2007 11:22:13 AM (GMT-0500) America/New_York Subject: Re: [PHP] Problem with php mail On 8/5/07, Jason Sia [EMAIL PROTECTED

[PHP] Problem with php mail

2007-08-04 Thread Jason Sia
Hi Everyone, I'm having problem with php mail. When I try to create an html message with only a href='mydomain.com'mydomain/a, gmail is registering it as a spam while yahoo is not. Can you suggest solutions to my problem. Thanks, Jason Send instant messages to your online friends http

Re: [PHP] mail function

2007-08-02 Thread Siavash Miri
: Animesh Joshi [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Wednesday, August 01, 2007 3:20 AM Subject: [PHP] mail function I've installed IIS (Internet information services on my windows XP machine. I've also installed php 5.0 from www.php.net. I'm trying to use the mail() function

Re: [PHP] mail function

2007-08-02 Thread Stut
Animesh Joshi wrote: I've installed IIS (Internet information services on my windows XP machine. I've also installed php 5.0 from www.php.net. I'm trying to use the mail() function in a simple php script which uses a html form. However, i'm not able to send the mail using the mail($to,

[PHP] mail function

2007-08-01 Thread Animesh Joshi
I've installed IIS (Internet information services on my windows XP machine. I've also installed php 5.0 from www.php.net. I'm trying to use the mail() function in a simple php script which uses a html form. However, i'm not able to send the mail using the mail($to, $subject, $message,

Re: [PHP] PHP mail with attachment

2007-07-16 Thread Richard Heyes
Use something like http://phpmailer.sf.net/ which handles everything for you already :) Or: http://www.phpguru.org/static/htmlMimeMail5.html and http://www.phpguru.org/downloads/html.mime.mail/ -- Richard Heyes +44 (0)844 801 1072 http://www.websupportsolutions.co.uk Knowledge Base and

[PHP] PHP mail with attachment

2007-07-15 Thread Vanessa Vega
Hello to everyone!..I had problems with attaching a document to an email using PHP..can somebody share some ideas on how to properly do it? Thanks in advance! Vanessa -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP mail with attachment

2007-07-15 Thread Chris
Vanessa Vega wrote: Hello to everyone!..I had problems with attaching a document to an email using PHP..can somebody share some ideas on how to properly do it? Use something like http://phpmailer.sf.net/ which handles everything for you already :) -- Postgresql php tutorials

Re: [PHP] mail function from and reply to address problem

2007-07-13 Thread Richard Lynch
On Thu, July 12, 2007 6:33 pm, Tanner Postert wrote: I am currently running PHP 5.1.4 Fedora Core 5 i'm trying to exectute the following test script. ?php $to = '[EMAIL PROTECTED]'; $subject = 'the subject'; $message = 'body'; $headers = 'From: [EMAIL PROTECTED]' . \r\n .

Re: [PHP] mail function from and reply to address problem

2007-07-13 Thread Chris
Richard Lynch wrote: On Thu, July 12, 2007 6:33 pm, Tanner Postert wrote: I am currently running PHP 5.1.4 Fedora Core 5 i'm trying to exectute the following test script. ?php $to = '[EMAIL PROTECTED]'; $subject = 'the subject'; $message = 'body'; $headers = 'From: [EMAIL PROTECTED]' .

Re: [PHP] mail function from and reply to address problem

2007-07-13 Thread Tanner Postert
apache is definitely listed in the trusted users, as I mentioned, I can send from dozens of other domains, its just one specific domain that I can't. i'll let you know the results of sending the email from outside of php. On 7/12/07, Chris [EMAIL PROTECTED] wrote: Richard Lynch wrote: On Thu,

Re: [PHP] mail function from and reply to address problem

2007-07-13 Thread Tanner Postert
mail function returns 1(true) whether or not i'm sending to the new virtual host domain name or any random domain name. turns out sendmail function does the same thing, so it looks like it's a sendmail problem... but how is that possible if i've never configured anything for this new domain

Re: [PHP] mail function from and reply to address problem

2007-07-13 Thread Tanner Postert
figured it out... the domain in question's dns is set to CNAME to the main domain on that server, whereas, the remaining domains are just using the A record with the IP. I changed one of the other domains to use the CNAME and it did the same thing. So looks like thats the culprit. I'll have to

Re: [PHP] mail function from and reply to address problem

2007-07-13 Thread Tijnema
On 7/13/07, Tanner Postert [EMAIL PROTECTED] wrote: figured it out... the domain in question's dns is set to CNAME to the main domain on that server, whereas, the remaining domains are just using the A record with the IP. I changed one of the other domains to use the CNAME and it did the same

Re: [PHP] mail function from and reply to address problem

2007-07-13 Thread Tanner Postert
thanks, thats exactly where I went. looks like i'm on the right track. On 7/13/07, Tijnema [EMAIL PROTECTED] wrote: On 7/13/07, Tanner Postert [EMAIL PROTECTED] wrote: figured it out... the domain in question's dns is set to CNAME to the main domain on that server, whereas, the remaining

RE: [PHP] mail function from and reply to address problem

2007-07-12 Thread Steve Perkins
Subject: [PHP] mail function from and reply to address problem I am currently running PHP 5.1.4 Fedora Core 5 i'm trying to exectute the following test script. ?php $to = '[EMAIL PROTECTED]'; $subject = 'the subject'; $message = 'body'; $headers = 'From: [EMAIL PROTECTED]' . \r\n . 'Reply

[PHP] mail function from and reply to address problem

2007-07-12 Thread Tanner Postert
I am currently running PHP 5.1.4 Fedora Core 5 i'm trying to exectute the following test script. ?php $to = '[EMAIL PROTECTED]'; $subject = 'the subject'; $message = 'body'; $headers = 'From: [EMAIL PROTECTED]' . \r\n . 'Reply-To: [EMAIL PROTECTED]' . \r\n . 'X-Mailer: PHP/' .

Re: [PHP] mail function problem

2007-07-05 Thread Daniel Brown
On 7/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Chris a écrit : web2 wrote: Chris a écrit : Try this: ? $email = [EMAIL PROTECTED]; $headers = From: .$email.\r\n; $headers .= X-Mailer: PHP/.phpversion().\r\n; if(mail([EMAIL PROTECTED],essai,test,$headers)) { echo OK:

Re: [PHP] mail function problem

2007-07-05 Thread web2
Chris a écrit : web2 wrote: Chris a écrit : Try this: ? $email = [EMAIL PROTECTED]; $headers = From: .$email.\r\n; $headers .= X-Mailer: PHP/.phpversion().\r\n; if(mail([EMAIL PROTECTED],essai,test,$headers)) { echo OK: .ini_get('sendmail_path'); } else { echo NOK:

Re: [PHP] mail function problem

2007-07-05 Thread Tijnema
On 7/5/07, Daniel Brown [EMAIL PROTECTED] wrote: On 7/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Chris a écrit : web2 wrote: Chris a écrit : Try this: ? $email = [EMAIL PROTECTED]; $headers = From: .$email.\r\n; $headers .= X-Mailer: PHP/.phpversion().\r\n;

Re: [PHP] mail function problem

2007-07-05 Thread Daniel Brown
On 7/5/07, Tijnema [EMAIL PROTECTED] wrote: he's running it on the web, as the CLI worked ;) Yeah, I knew it was mentioned before, but I couldn't remember. I think I have early-onset Alzheimer's. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 -- PHP General

Re: [PHP] mail function problem

2007-07-04 Thread web2
Chris a écrit : Try this: ? $email = [EMAIL PROTECTED]; $headers = From: .$email.\r\n; $headers .= X-Mailer: PHP/.phpversion().\r\n; if(mail([EMAIL PROTECTED],essai,test,$headers)) { echo OK: .ini_get('sendmail_path'); } else { echo NOK: .ini_get('sendmail_path'); } ? Note Same

Re: [PHP] mail function problem

2007-07-04 Thread Chris
web2 wrote: Chris a écrit : Try this: ? $email = [EMAIL PROTECTED]; $headers = From: .$email.\r\n; $headers .= X-Mailer: PHP/.phpversion().\r\n; if(mail([EMAIL PROTECTED],essai,test,$headers)) { echo OK: .ini_get('sendmail_path'); } else { echo NOK: .ini_get('sendmail_path'); } ?

Re: [PHP] mail function problem

2007-07-03 Thread web2
Daniel Brown a écrit : On 7/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Daniel Brown a écrit : On 7/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I've already checked : - the mail logs : no mail send - and the apache error and access logs : nothing except this : 192.168.0.1 - -

Re: [PHP] mail function problem

2007-07-03 Thread Chris
Try this: ? $email = [EMAIL PROTECTED]; $headers = From: .$email.\r\n; $headers .= X-Mailer: PHP/.phpversion().\r\n; if(mail([EMAIL PROTECTED],essai,test,$headers)) { echo OK: .ini_get('sendmail_path'); } else { echo NOK: .ini_get('sendmail_path'); } ? Note Same result : NOK

Re: [PHP] mail function problem

2007-07-02 Thread web2
I've already checked : - the mail logs : no mail send - and the apache error and access logs : nothing except this : 192.168.0.1 - - [02/Jul/2007:14:07:22 +0200] GET /~ee/mail.php HTTP/1.1 200 49291 - Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

Re: [PHP] mail function problem

2007-07-02 Thread Daniel Brown
On 7/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I've already checked : - the mail logs : no mail send - and the apache error and access logs : nothing except this : 192.168.0.1 - - [02/Jul/2007:14:07:22 +0200] GET /~ee/mail.php HTTP/1.1 200 49291 - Mozilla/5.0 (Windows; U; Windows

Re: [PHP] mail function problem

2007-07-02 Thread web2
Daniel Brown a écrit : On 7/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I've already checked : - the mail logs : no mail send - and the apache error and access logs : nothing except this : 192.168.0.1 - - [02/Jul/2007:14:07:22 +0200] GET /~ee/mail.php HTTP/1.1 200 49291 -

Re: [PHP] mail function problem

2007-07-02 Thread Daniel Brown
On 7/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Daniel Brown a écrit : On 7/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I've already checked : - the mail logs : no mail send - and the apache error and access logs : nothing except this : 192.168.0.1 - - [02/Jul/2007:14:07:22

Re: [PHP] mail function problem

2007-07-02 Thread Daniel Brown
On 7/2/07, Daniel Brown [EMAIL PROTECTED] wrote: {snip} Note Sorry, hit the button before I was done typing. Note the trailing \r\n after the X-Mailer line as well. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 -- PHP General Mailing List

Re: [PHP] mail function problem

2007-07-01 Thread Chris
[EMAIL PROTECTED] wrote: Hi, I'm running PHP 5.2.3 on Solaris 10 (AMD64). My mail function doesn't send any mail, the return value of mail function is false... But sendmail_path value is OK in php.ini, and I've tried to send a mail with sendmail on console with the same user (the apache

[PHP] mail function problem

2007-06-29 Thread web2
Hi, I'm running PHP 5.2.3 on Solaris 10 (AMD64). My mail function doesn't send any mail, the return value of mail function is false... But sendmail_path value is OK in php.ini, and I've tried to send a mail with sendmail on console with the same user (the apache user), and everything's ok...

Re: [PHP] mail() only working with php-cli

2007-05-07 Thread Richard Lynch
On Sat, May 5, 2007 3:53 pm, Andy B. wrote: Is there any way to debug the mail() function within PHP4 or PHP5? Check Apache error logs. Check sendmail (or whatever) error logs. The following code is not working when called from a browser, but it does work from the command line: Often points

RE: [PHP] mail() only working with php-cli

2007-05-07 Thread Richard Lynch
On Sat, May 5, 2007 5:04 pm, Andy B. wrote: Both are exactly the same, as I copied the CLI version into the Apache Version. Of course I first tested with the original Apache php.ini before overwriting it with the CLI version. I'm not quite sure what you are saying here, but the CLI version

RE: [PHP] mail() only working with php-cli

2007-05-07 Thread Andy B.
message like /usr/sbin/sendmail: permission denied would have made it. Regards, Andy -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 08, 2007 01:01 To: Andy B. Cc: php-general@lists.php.net Subject: Re: [PHP] mail() only working with php-cli

RE: [PHP] mail() only working with php-cli

2007-05-06 Thread Andy B.
Cc: Andy B. Subject: Re: [PHP] mail() only working with php-cli Hello Andy, did you take a look into the apache log files? Regards, Oliver Am Samstag, 5. Mai 2007 22:53 schrieb Andy B.: Is there any way to debug the mail() function within PHP4 or PHP5? The following code is not working

Re: [PHP] mail() only working with php-cli

2007-05-06 Thread Tijnema !
on and then try to access the sendmail binary. Tijnema -Original Message- From: Oliver Block [mailto:[EMAIL PROTECTED] Sent: Saturday, May 05, 2007 23:58 To: php-general@lists.php.net Cc: Andy B. Subject: Re: [PHP] mail() only working with php-cli Hello Andy, did you take a look

[PHP] mail() only working with php-cli

2007-05-05 Thread Andy B.
Is there any way to debug the mail() function within PHP4 or PHP5? The following code is not working when called from a browser, but it does work from the command line: ?php $to = '[EMAIL PROTECTED]'; $subject = 'the subject'; $message = 'hello...'; $headers = 'From: [EMAIL PROTECTED]'

Re: [PHP] mail() only working with php-cli

2007-05-05 Thread Tijnema !
On 5/5/07, Andy B. [EMAIL PROTECTED] wrote: Is there any way to debug the mail() function within PHP4 or PHP5? The following code is not working when called from a browser, but it does work from the command line: ?php $to = '[EMAIL PROTECTED]'; $subject = 'the subject'; $message =

RE: [PHP] mail() only working with php-cli

2007-05-05 Thread Andy B.
tested with E_ALL and also dumping errors/warnings into log files... Andy -Original Message- From: Tijnema ! [mailto:[EMAIL PROTECTED] Sent: Saturday, May 05, 2007 23:58 To: Andy B. Cc: php-general@lists.php.net Subject: Re: [PHP] mail() only working with php-cli Are you sure

Re: [PHP] mail() only working with php-cli

2007-05-05 Thread Oliver Block
Hello Andy, did you take a look into the apache log files? Regards, Oliver Am Samstag, 5. Mai 2007 22:53 schrieb Andy B.: Is there any way to debug the mail() function within PHP4 or PHP5? The following code is not working when called from a browser, but it does work from the command

Re: [PHP] Mail function

2007-04-05 Thread Shafiq Rehman
Hi, What i understand is, you have written a new function for sending emails. Are you passing all the variables to that function? If not, you have to pass. or you can use my function ?php // function declaration, This function can send only HTML emails function sendMail ($toEmail, $subject,

Re: [PHP] Mail function

2007-04-05 Thread Zhimmy Kanata
Hi, Tried it...but it didn't work...Not sure why. I am using a respectable ISP and they are looking at the problem although they tend to take their time. I figure I must not be passing the variable. I will post my entire code. For all those that help again thank you. ?php

[PHP] PHP Mail function

2007-04-05 Thread Zhimmy Kanata
For whatever reason I can't pass the variable $email into the mail function to make it send me an email..can anyone help? Here is my code ?php require(config.php); require(functions.php); //echo some styles to spice it up... echo style body { background: #131313;

[PHP] Mail function

2007-04-04 Thread Zhimmy Kanata
Hi, I am working on a program to create a registration feature through a email notificaiton much like this list. For functional use but also for personal training. However, I can't seem to pass the variable into the mail function() ? If I echo the variable it displays it so it must

[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

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-Transfer

Re: [PHP] PHP mail() problem

2007-03-20 Thread Puskás Zsolt ( Errotan )
=utf8_encode($subject); $text2=utf8_encode($text); mail([EMAIL PROTECTED],$subject,$text2,$header); This encodes message to UTF-8 and should work. 2007. március 20. 10.54 dátummal Delta Storm ezt írta: Hi, I'm having problem with character encoding in PHP mail functions. CODE: $headers.= Content-Type

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-Version: 1.0

[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-Encoding: 8bit

[PHP] Mail function undefined in PHP6

2007-03-17 Thread Tijnema !
Hi, I have PHP6 installed (Snapshot:200703141130) and somehow it says now that the mail function is undefined, i have sendmail installed in /usr (is in $PATH) my configure command: './configure' '--prefix=/usr' '--with-pear' '--enable-all' '--with-apxs2' '--without-fbsql' '--without-interbase'

Re: [PHP] Mail function undefined in PHP6

2007-03-17 Thread Robert Cummings
On Sat, 2007-03-17 at 11:07 +0100, Tijnema ! wrote: Hi, I have PHP6 installed (Snapshot:200703141130) and somehow it says now that the mail function is undefined, i have sendmail installed in /usr (is in $PATH) my configure command: './configure' '--prefix=/usr' '--with-pear'

Re: [PHP] Mail function undefined in PHP6

2007-03-17 Thread Tijnema !
On 3/17/07, Robert Cummings [EMAIL PROTECTED] wrote: On Sat, 2007-03-17 at 11:07 +0100, Tijnema ! wrote: Hi, I have PHP6 installed (Snapshot:200703141130) and somehow it says now that the mail function is undefined, i have sendmail installed in /usr (is in $PATH) my configure command:

Re: [PHP] mail

2007-03-14 Thread Richard Lynch
On Tue, March 13, 2007 1:35 pm, Dani Dws wrote: I just want to know if the mail function works from a localhost (local server)? It *can* be made to work, even if you have not succeeded so far. I've checked my php.ini all the setting are right but the mail function is not sending any mail,

Re: [PHP] mail

2007-03-13 Thread Martin Marques
Dani Dws escribió: I just want to know if the mail function works from a localhost (local server)? I've checked my php.ini all the setting are right but the mail function is not sending any mail, any idea? How are you using it? -- select 'mmarques' || '@' || 'unl.edu.ar' AS email;

Re: [PHP] mail header questions solved

2006-11-29 Thread Chantal Rosmuller
You can use the fifth parameter: [EMAIL PROTECTED] This will cause the from to be from [EMAIL PROTECTED] instead of from [EMAIL PROTECTED] Regards, Emmett Hi Emmett, Thanks this works. I already tried this on my local machine and it didn't work but it does work on the webserver so

[PHP] mail header questions

2006-11-27 Thread Chantal Rosmuller
Hi everyone, I'm working on a mailform and it's kind of working but I still have 2 problems: 1) I can't get the From header right, when I receive the test mail the sender is apache 2) The BCC headers (there's more then one) are not stripped. Here's my script: /* haal de gegevens op

[PHP] mail() encoded subject line

2006-10-16 Thread Emil Edeholt
Hi, I hope this is not too off topic but I have a problem when I use mail(). When I add the header Content-Type: text/plain; charset=UTF-8 the body of the mail is encoded fine but the subject is not encoded. I've tried to utf8_encode() and utf8_decode() the subject text but neither helps.

Re: [PHP] mail() encoded subject line

2006-10-16 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2006-10-16 14:32:12 +0200: I hope this is not too off topic but I have a problem when I use mail(). When I add the header Content-Type: text/plain; charset=UTF-8 the body of the mail is encoded fine but the subject is not encoded. I've tried to utf8_encode() and

[PHP] mail delivery

2006-10-06 Thread Ross
Is there anyway to setup a mail delivery with mail() or phpmailer? I send out a mass mail and some get returned but there is no message who they are being returned from. usually you get something like. This message was created automatically by mail delivery software. A message that you

Re: [PHP] mail delivery

2006-10-06 Thread Richard Lynch
On Fri, October 6, 2006 6:18 am, Ross wrote: Is there anyway to setup a mail delivery with mail() or phpmailer? I send out a mass mail and some get returned but there is no message who they are being returned from. usually you get something like. This message was created

[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

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

<    1   2   3   4   5   6   7   8   9   10   >