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

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

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

Re: [PHP-DB] mail() function

2003-05-29 Thread Michael Scappa
Yehp, actually there is :-) On windows machines you'll need to change the SMTP in there (Since you probably aren't running a local mail server), in your php.ini you can most likely change it to your ISP's mail server., there is more specific info on the docs for the mail funcion in the php manual

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

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

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
$mailTo = [EMAIL PROTECTED]; $mailFrom = From:[EMAIL PROTECTED]; $mailSubject = This is an email...; $mailBody = This is a message; @mail($mailTo,$mailFrom,$mailSubject,$mailBody); Try this, it works for me ;-) Russ -Original Message- From: Manoj Japher [mailto:[EMAIL PROTECTED]] Sent:

RE: [PHP-DB] Mail Function

2002-08-27 Thread Russ
Oops! wrong order of arguments... I meant: $mailTo = [EMAIL PROTECTED]; $mailFrom = From:[EMAIL PROTECTED]; $mailSubject = This is an email...; $mailBody = This is a message; @mail($mailTo,$mailSubject,$mailBody,$mailFrom); Russ -Original Message- From: Manoj Japher [mailto:[EMAIL

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

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

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

RE: [PHP-DB] mail function

2001-08-14 Thread Tom Hodder
check that you have either specified [mail function] ; For Win32 only. SMTP = mail.myserver.com ; For Win32 only. sendmail_from = [EMAIL PROTECTED] or the sendmail path here; ; For Unix only. You may supply arguments as well (default: 'sendmail -t -i'). ;sendmail_path = /usr/bin/sendmail