[PHP-DB] Mail Function

2006-03-01 Thread Mark Bomgardner
I have been racking my brain for the better part of a day with a simple mail function. I am trying to generate a list of events from MySQL and then use the php Mail function to email the list in an html email to a mailing list. I keep getting a parse error on a section that I can not figure

Re: [PHP-DB] Mail Function

2006-03-01 Thread JupiterHost.Net
Mark Bomgardner wrote: I have been racking my brain for the better part of a day with a simple mail function. I am trying to generate a list of events from MySQL and then use the php Mail function to email the list in an html email to a mailing list. I keep getting a parse error on a

Re: [PHP-DB] Mail Function

2006-03-01 Thread Philip Pryce
You can have 'blah'.} else { .'blah' because that is what you currently have.

Re: [PHP-DB] Mail Function

2006-03-01 Thread Philip Pryce
opps sorry for the typos you cant have

[PHP-DB] mail function

2005-08-02 Thread hope of life
i m uing a form where user enters its email address i get it on next page n email user id n pwd (tht i get from database using query) 2 the provided email address ?php if ($rec_email != ) { mail($rec_email, $subject, $message, $from); echo You will shortly receive

[PHP-DB] mail() function and AOL users

2004-05-18 Thread matt perry
I use the following php mail function in an online applicaiton program: mail($email, application submitted, $message, From: [EMAIL PROTECTED]); This function does not always work when I modify $message. I have checked for null values for $message already but this does not seem to be the

[PHP-DB] Mail Function

2004-01-30 Thread Graeme McLaren
Evening all, I've written a script which sends emails, there is no problem with that. I was wondering how I can check for email bounces, anyone know how to do that? Cheers, G :) -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Mail Function

2004-01-30 Thread John W. Holmes
From: Graeme McLaren [EMAIL PROTECTED] Evening all, I've written a script which sends emails, there is no problem with that. I was wondering how I can check for email bounces, anyone know how to do that? There's no direct, easy way. You'll have to write/aquire a PHP script that logs into a

Re: [PHP-DB] Mail Function

2004-01-30 Thread J-Michael Roberts
Your script actually connects to an SMTP server and sends the email? If this is the case, you can have your script look for success/error messages returned by the server when it sends - unless you're delivering to an AOL address. AOL accepts everything you throw at it and then sends back a

[PHP-DB] mail function

2003-10-30 Thread Ng Hwee Hwee
hi all, i need to use a mail() function to send a job application to my inbox when an applicant goes online and complete the application form. However, when the contents of a certain field is very long, the message i get in my inbox is truncated! can anyone help me please? i've tried word wrap,

Re: [PHP-DB] mail function

2003-10-30 Thread Shahmat Dahlan
The textarea tag has an option called wrap, pls read below (extracted from w3c.org) TEXTAREA NAME=foo ROWS=4 COLS=40 WRAP=OFF Carriage returns and line feeds entered by the user are ignored and one line of text is sent to the server. No automatic wrapping is done, so the user must scroll

[PHP-DB] mail function

2003-10-30 Thread Ng Hwee Hwee
hi all, i need to use a mail() function to send a job application to my inbox when an applicant goes online and complete the application form. However, when the contents of a certain field is very long, the message i get in my inbox is truncated! can anyone help me please? i've tried word wrap,

[PHP-DB] mail() function

2003-05-29 Thread Alex Francis
I have set up my pc as a test server Windows 98 running Apache as a service, PHP and MySQL but cannot get the mail() function to work. After a long wait, I get an error Warning: Failed to Receive in c:\phpdev\www\assets\submit_users.php on line 17. Is there something I should be changing in the

Re: [PHP-DB] mail() function

2003-05-29 Thread Michael Scappa
-- refer to the user postings: http://us4.php.net/manual/en/ref.mail.php -Mike - Original Message - From: Alex Francis [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 3:41 PM Subject: [PHP-DB] mail() function I have set up my pc as a test server Windows 98

Re: [PHP-DB] mail() function

2003-03-24 Thread Rick Dahl
PROTECTED] Subject: Re: [PHP-DB] mail() function Date: Sat, 22 Mar 2003 14:49:29 +0800 On Saturday 22 March 2003 16:53, Rick Dahl wrote: I think the fact that I don't have a mailserver would do it. Unless the PHP home edition 2 bundle has a mailserver, I don't have one. Where can I get one

Re: [PHP-DB] mail() function

2003-03-24 Thread Jason Wong
On Tuesday 25 March 2003 04:39, Rick Dahl wrote: Is the the type of thing I would need? http://www.postcastserver.com/ I found where I am supposed to alter the PHP.ini file. What am I supposed to type instead of 'localhost' If you're running an SMTP server on the same machine (as your

[PHP-DB] mail() function

2003-03-21 Thread Rick Dahl
I can't get it to work. I get the echo to show up but never receive a email. if($blankpostage) { $to = Rick Dahl [EMAIL PROTECTED]; $subject = Online B+P Request; $body = Show ID = . $id; mail($to, $subject, $body); echo sadflkjaflkasdj; } What am I doing wrong? Rick

Re: [PHP-DB] mail() function

2003-03-21 Thread Jason Wong
On Saturday 22 March 2003 16:38, Rick Dahl wrote: I can't get it to work. I get the echo to show up but never receive a email. if($blankpostage) { $to = Rick Dahl [EMAIL PROTECTED]; $subject = Online B+P Request; $body = Show ID = . $id; mail($to, $subject, $body); echo

Re: [PHP-DB] mail() function

2003-03-21 Thread Rick Dahl
, March 21, 2003 10:41 PM Subject: Re: [PHP-DB] mail() function On Saturday 22 March 2003 16:38, Rick Dahl wrote: I can't get it to work. I get the echo to show up but never receive a email. if($blankpostage) { $to = Rick Dahl [EMAIL PROTECTED]; $subject = Online B+P Request

Re: [PHP-DB] mail() function

2003-03-21 Thread Jason Wong
On Saturday 22 March 2003 16:53, Rick Dahl wrote: I think the fact that I don't have a mailserver would do it. Unless the PHP home edition 2 bundle has a mailserver, I don't have one. Where can I get one of those? Can I get it for free? I think having a mailserver would be a tremendous help

[PHP-DB] Mail Function

2002-08-27 Thread Manoj Japher
hi, I know this question is in the wrong group, but I hope someone maybe able to help me out. I need to use the mail() function in my code to send out mails which I am able to do successfully. But I am not able to set the 'from address' in the mail I sent. It always varies. Can I set the

RE: [PHP-DB] Mail Function

2002-08-27 Thread Ruprecht Helms
Hi Manoj Japher, add the following (see in context) ? $toaddress = [EMAIL PROTECTED]; ^ addslashes(...) $fromaddress = [EMAIL PROTECTED]; ^ addslashes(...)

RE: [PHP-DB] Mail Function

2002-08-27 Thread Russ
: Wednesday, August 28, 2002 2:33 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] Mail Function hi, I know this question is in the wrong group, but I hope someone maybe able to help me out. I need to use the mail() function in my code to send out mails which I am able to do successfully. But I am

RE: [PHP-DB] Mail Function

2002-08-27 Thread Russ
PROTECTED]] Sent: Wednesday, August 28, 2002 2:33 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] Mail Function hi, I know this question is in the wrong group, but I hope someone maybe able to help me out. I need to use the mail() function in my code to send out mails which I am able to do

Re: [PHP-DB] mail function

2002-07-01 Thread Martin Clifford
Nice, mature response, Jason. Really smooth! :o) :chortle: Martin [EMAIL PROTECTED] 06/30/02 09:44AM On Sunday 30 June 2002 09:06, CrossWalkCentral wrote: As this has nothing to do with DBs it should be posted to the php-general list. When using this fucntion listed bellow with the HTML

Re: [PHP-DB] mail function

2002-06-30 Thread Jason Wong
On Sunday 30 June 2002 09:06, CrossWalkCentral wrote: As this has nothing to do with DBs it should be posted to the php-general list. When using this fucntion listed bellow with the HTML headder What function? And what HTML header? the email sent does not show the FROM in the FORM filed it

[PHP-DB] mail function

2002-06-29 Thread CrossWalkCentral
When using this fucntion listed bellow with the HTML headder the email sent does not show the FROM in the FORM filed it just displays it in the email message Any one have any ideas. $headers .= From: CrossWalkCentral [EMAIL PROTECTED] \n; -- PHP Database Mailing List

Re: [PHP-DB] mail() function

2002-06-11 Thread Lisi
If you are on Windows you can just point to your ISP's SMTP server in your .ini file. At 11:02 AM 6/10/02 +0200, Dib, Walid (MED, Stagiaire GEMS) wrote: Hello I want to test the mail() function locally, i'm using esays php, how can I do that? thanks Walid -- PHP Database Mailing List

[PHP-DB] mail() function

2002-06-10 Thread Dib, Walid (MED, Stagiaire GEMS)
Hello I want to test the mail() function locally, i'm using esays php, how can I do that? thanks Walid -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] mail() function

2002-06-10 Thread Edward Marczak
On 6/10/02 5:02 AM, Dib, Walid (MED, Stagiaire GEMS) [EMAIL PROTECTED] pressed the keys forming the message: Hello I want to test the mail() function locally, i'm using esays php, how can I do that? Not sure what esays php is, but you don't say what platform you're on. Basically, you need

[PHP-DB] mail function help

2002-04-04 Thread CrossWalkCentral
For some reason the mail command will not work on all systems mybe I am using it wrong can some one provide some feedback on this. here is a code snip. $msg = \tFirst Name: $custfname\n \tLast Name: $custlname\n \tEmail Address: $custemail\n \tCategory: $dservice\n \tDescription:

[PHP-DB] mail() function

2002-01-08 Thread Osman Omar
Hi all, I use mail() function to send automatic email to me but when I receive the email, I found that send date is not correct (send date is in future) How do I correct this problem I use PHP 4.1.0 platform win98se apache 1.3.22 Thanks -- PHP Database Mailing List (http://www.php.net/) To

[PHP-DB] Mail() function and the php.ini file

2001-09-10 Thread Jeff Panis
I'm attempting to setup the PHP module to allow the mail() function to work. As I understand, I need to edit the php.ini file? I can't locate the file to edit. Can someone point me in the right direction? I'm using OSX Server. Thanks, Jeff Panis [EMAIL PROTECTED] -- PHP Database Mailing List

RE: [PHP-DB] mail function

2001-08-14 Thread Tom Hodder
otherwise mail cannot send mail at all. -Original Message- From: Travis Cannell [mailto:[EMAIL PROTECTED]] Sent: 14 August 2001 03:27 To: [EMAIL PROTECTED] Subject: [PHP-DB] mail function hi all, I cant seem to get my mail function to work. OK so i am a noob, that might have

[PHP-DB] mail function

2001-08-13 Thread Travis Cannell
hi all, I cant seem to get my mail function to work. OK so i am a noob, that might have something to do with it. I am using a script I found called the HTML Mime Mail Class, which does everything i need except actually send the mail. I am guessing that there is some config problems, but i am

[PHP-DB] mail function

2001-03-07 Thread Liz Bander
I need to make an email link in a table. The username is displayed as text; I need it to be a link through which I can send email. Is this possible in php? The following is the code for that I'm using: function show_logged_users($user) { $query = "select distinct uid, cn from log left