Re: [PHP] Mail Form

2002-07-30 Thread Kerry Gray
I didn't write it, it was taken from a code library on a site. i have never used php before in my life, hence why I have no idea whats going on, it's more than likely the only thing i'll use php for. "Jason Wong" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >

Re: [PHP] Mail Form

2002-07-30 Thread Jason Wong
On Wednesday 31 July 2002 03:08, Kerry Gray wrote: > Can somebody please tell me why I keep getting this error when using this > script... Because what you wrote is invalid PHP code. > Parse error: parse error in /host/g/i/a/8/b/i/giapai3k.8bit.co.uk/mail.php > on line 54 It's bad enough asking

[PHP] Re: php 'mail()' security

2002-07-29 Thread Richard Lynch
>How can I make my form which entered by a user, then sent to a company >employee, secure, not vulnerable attack? What kind of attack?... Rule #1. NEVER trust data coming in from the user. Things to maybe check: The email should be within a certain reasonable length. Their subject should not c

RE: [PHP] mail() function

2002-07-24 Thread Peter
1) read the manual 2) make sure you have sendmail installed 3) make sure sendmail is working 4) look at php.ini it has it all in there you just have to uncomment it and maybe change the location for sendmail > -Original Message- > From: wm [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 25 J

Re: [PHP] mail() problem

2002-07-14 Thread Duncan
Hi again, ok, i found the (weird!) problem now: Its not my server nor my ISP, but php (at least, i think so): Here are the exact lines i used in my test script: 1st non working - delayed example: mail($receiver,"-Subject-","Here are your account details:\n\nusername: $lp_name\npassword: ".ba

Re: [PHP] mail() problem

2002-07-14 Thread Duncan
Hi again, ok i found out now, that the problem is the "From: ... Reply-To: " header. Whenever i leave those, the email gets delivered instantly, but included, the email gets a delivery delay for about 3 hours. Is there any other way, i can avoid getting the default email address as the sender,

Re: [PHP] mail() problem

2002-07-13 Thread Chris Knipe
> Does anyone have an idea, what might cause this problem? > Could it be the ISP, or do i need to add additional info, when i call the mail() function in order to send emails outside my network? Could be your ISP... > This is what i used to test if the emails get sent or not: > mail([EMAIL PRO

Re: [PHP] MAIL FROM NO ONE

2002-07-11 Thread Alberto Serra
Chris Knipe wrote: > On Thu, Jul 11, 2002 at 02:29:11PM +0200, vins wrote: > Allot of SMTP servers does quite a bit of sanity checking on the headers > received from an email message. Not in the west. They are too busy allowing in the commercial spam they are sending themselves. Otherwise you'

Re: [PHP] MAIL() Trouble. Need your eyes.

2002-07-11 Thread Christoph Grottolo
quot; <[EMAIL PROTECTED]> 07/11/02 02:42PM >>> > Nope, no luck. Still errors out. > Is there a limit to how man characters a MAIL() call can have? > > -Original Message- > From: Paul Roberts [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 11, 2002 11:31 AM &

RE: [PHP] MAIL() Trouble. Need your eyes.

2002-07-11 Thread Martin Clifford
07/11/02 02:42PM >>> Nope, no luck. Still errors out. Is there a limit to how man characters a MAIL() call can have? -Original Message- From: Paul Roberts [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 11:31 AM To: Shane Subject: Re: [PHP] MAIL() Trouble. Need your eyes

RE: [PHP] MAIL() Trouble. Need your eyes.

2002-07-11 Thread Shane
Nope, no luck. Still errors out. Is there a limit to how man characters a MAIL() call can have? -Original Message- From: Paul Roberts [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 11:31 AM To: Shane Subject: Re: [PHP] MAIL() Trouble. Need your eyes. try escaping the # in

RE: [PHP] MAIL() Trouble. Need your eyes.

2002-07-11 Thread Shane
t: Re: [PHP] MAIL() Trouble. Need your eyes. try escaping the # in there. Paul Roberts [EMAIL PROTECTED] - Original Message - From: "Shane" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 11, 2002 7:21 PM Subject: [PHP] MAI

Re: [PHP] MAIL FROM NO ONE

2002-07-11 Thread Chris Knipe
On Thu, Jul 11, 2002 at 02:29:11PM +0200, vins wrote: > Hi... I've just checked out a script from hotscripts.com that send email > from and smtp server... The mail() does exactly the same Nothing fancy about it. > I've managed to say the email has come from a server that doesn't exist > bu

Re: [PHP] MAIL FROM NO ONE

2002-07-11 Thread Chris Hewitt
Vins, Yes, talk to port 25 of any smtp server using php. You would need to implement the full RFCs on smtp and its re-inventing the wheel. There are already classes to talk to whichever smtp server you want. Whichever smtp server you sent the mail to would log it, and the server it came from.

Re: [PHP] Mail() function

2002-07-09 Thread Chris Knipe
No you cant. All Received:, Date:, Message-ID headers are added to the message at the SMTP server... Hence, any halfly decent configured SMTP server will *always* add those headers to *any* message. If you have administration over the SMTP server, you can with allot of tweaking configure the S

RE: [PHP] Mail() function

2002-07-09 Thread Lazor, Ed
IMHO: This is a good thing. SPAM is a bad thing, which proliferates without accountability. -Original Message- The relevant line is added by the server that RECEVIES the message, not by your server. So you don't have any control. ***

Re: [PHP] Mail() function

2002-07-09 Thread Miguel Cruz
On Tue, 9 Jul 2002, César Aracena wrote: > I wonder if there’s a way to *HIDE* some parts from the Heading of the > emails sent with PHP. I’m trying to create an anonymous mail sender but > in the header of the message appears: > > Received: (from httpd@localhost) > by www.whateverdo

Re: [PHP] Mail() function

2002-07-09 Thread vins
once that request is sent you can't really stop it... even if you close the window it will still process the full request... php does funny things sometimes. especially with email "César aracena" <[EMAIL PROTECTED]> wrote in message 012d01c2278e$22214440$81c405c8@gateway">news:012d01c2278e$222144

RE: [PHP] Mail() function

2002-07-09 Thread César Aracena
Goto www.icaam.com.ar/mass-mailer.php and have some fun... Just don't send 10 millions of e-mails (which I did) 'couse it will take a wile to end the loop... ;-) > -Original Message- > From: César Aracena [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 09, 2002 6:08 PM > To: PHP General

Re: [PHP] mail help, and php.ini help.

2002-07-06 Thread Alberto Serra
ðÒÉ×ÅÔ! Greg Scotts wrote: > $to # > $from # > $subject # > $message # > mail($to, $from, $subject, $message) It always worked for me... you obviously checked variable content, did you? And I am not sure I got you right. Mail gets sent, it's just the sender address being wrong? > Also, i was

Re: [PHP] Mail() function problem

2002-07-02 Thread Jason Wong
On Wednesday 03 July 2002 00:52, Balaji Ankem wrote: > I am using the SMTP server which needs authentication. I don't think the built-in mail command handles authentication. Google > php smtp auth that should point you in the right direction. -- Jason Wong -> Gremlins Associates -> www.grem

Re: [PHP] [mail] quetion

2002-06-28 Thread Jason Wong
On Friday 28 June 2002 21:40, Jason Wong wrote: > On Friday 28 June 2002 18:59, Evan wrote: > > What is best: > > 1) calling n-times the function mail() [with n = numer of emails] or > > 2) calling 1 time mail() and use CC > > ? > > Or it it is the same thing? > > 1) will send mail out n times > 2

Re: [PHP] [mail] quetion

2002-06-28 Thread Jason Wong
On Friday 28 June 2002 18:59, Evan wrote: > What is best: > 1) calling n-times the function mail() [with n = numer of emails] or > 2) calling 1 time mail() and use CC > ? > Or it it is the same thing? 1) will send mail out n times 2) will send mail out once, but everyone gets to see who the other

Re: [PHP] mail() function hangs

2002-06-11 Thread Septic Flesh
Well I get this message Fatal error: Maximum execution time of 30 seconds exceeded in c:\nusphere\apache\htdocs\shop\order_fns.php on line 140 but the message is sent ok.. Windows/nusphere/modem56k. -- Sapilas@/dev/pinkeye "Peterhead Info" <[EMAIL PROT

Re: [PHP] mail() function hangs

2002-06-10 Thread Peterhead Info
I have read that the mail function doesn't come back if it fails ... but from what you are saying, the function didn't fail ... - Original Message - From: "Phil Schwarzmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 10, 2002 4:07 PM Subject: [PHP] mail() function hang

Re: [PHP] mail() problem

2002-06-07 Thread Jim lucas
should give you some insight on what is going on with the error messages included in the return mail. Jim Lucas - Original Message - From: "César L. Aracena" <[EMAIL PROTECTED]> To: "PHP General List" <[EMAIL PROTECTED]> Sent: Wednesday, June 05, 2002 8:42 PM S

Re: [PHP] Mail routing/reply to woes

2002-06-06 Thread Jason Wong
On Thursday 06 June 2002 23:31, Dennis Gearon wrote: > I am the webperson for a couple of sites, new ones. I've set up several > addresses, some I get and respond to. [snip] where's your php question? -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Inte

Re: [PHP] mail() problem

2002-06-05 Thread Manuel Lemos
Hello, On 06/06/2002 12:42 AM, César l . aracena wrote: > Ok. I've done everything that all of you told me to do, but still can't > get to send e-mails to my ISP's mail address. I did all of the > following: > > a) Append a Reply-To: [EMAIL PROTECTED] (Actually, it?s > [EMAIL PROTECTED] ) > b)

RE: [PHP] mail() problem

2002-06-05 Thread César L . Aracena
Ok. I've done everything that all of you told me to do, but still can't get to send e-mails to my ISP's mail address. I did all of the following: a) Append a Reply-To: [EMAIL PROTECTED] (Actually, it’s [EMAIL PROTECTED] ) b) Send the e-mail to my Hotmail account, but everything seems fine. The a

Re: [PHP] mail() problem

2002-06-05 Thread John Taylor-Johnston
> Yes. I had something similar. Try putting 'Reply-To: [EMAIL PROTECTED]' in > the fourth argument for mail. For some reason some systems balk without > a reply address, I'm not certain why? I questioned my ISP on that. They had something in their sendmail.exe which prevented outgoing mail (scrip

Re: [PHP] mail() problem

2002-06-05 Thread Jim lucas
you might want to test with a hotmail account as the return email address and find out if they are bouncing your email. I had this problem once, and in the return email it told me that I had miss formed headers. I got an error 550 from the mail server. you might try setting in the headers of yo

Re: [PHP] mail() problem

2002-06-05 Thread Ivan Hernandez
Cesar: What's the exact error message you are getting? or there's no error message? Are you running the PHP script in a local machine or a server? What MTA are you using? Regards, Ivan --- "César_L._Aracena" <[EMAIL PROTECTED]> wrote: > Hi all, > > I have this strange problem where I can send

Re: [PHP] mail() problem

2002-06-05 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then César L. Aracena declared > I have this strange problem where I can send e-mails from a PHP script to a common >e-mail address such as Hotmail's, but I can't send to my ISP-given e-mail address >(@infovia.com.ar). Does anyone happen

RE: [PHP] Mail Archives

2002-05-29 Thread Demitrious S. Kelly
Archives of the mailing list are available here: http://news.php.net/ Tutorials (good as books) check www.zend.com, www.hotscripts.com and www.phpbuilder.net (com?org?) -Original Message- From: Natarajan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 6:40 PM To: PHP Subject: [P

Re: [PHP] Mail Archives

2002-05-29 Thread Evan Nemerson
On Wednesday 29 May 2002 18:39 pm, Natarajan wrote: > HI, > 1. Where are the mail archives of this mailing list? http://marc.theaimsgroup.com/ > 2. Any free online downloadable books ( html / pdf formats) on PHP? Not that I know of, but webmonkey has a decent tutorial, and the manual i

Re: [PHP] mail() function is successful but page hangs

2002-05-29 Thread Justin French
How many emails are you sending? A batch of 100? or just one? Have you ever successfully sent an email? Have you tested using just one email address (rather than bulk)? If you sending a bulk, my guess is the process is taking longer than the maximum time allowed for a script on your server. I

RE: [PHP] mail() function

2002-05-29 Thread Ed Gorski
you mean return str_replace('ignorance','knowledge'); At 04:34 PM 5/29/2002 +0100, James Holden wrote: >knowledge > >-Original Message- >From: Ed Gorski [mailto:[EMAIL PROTECTED]] >Sent: 29 May 2002 16:26 >To: r; [EMAIL PROTECTED] >Subject: Re

RE: [PHP] mail() function

2002-05-29 Thread James Holden
knowledge -Original Message- From: Ed Gorski [mailto:[EMAIL PROTECTED]] Sent: 29 May 2002 16:26 To: r; [EMAIL PROTECTED] Subject: Re: [PHP] mail() function lol.what does that return? At 09:08 PM 5/29/2002 -0700, r wrote: >That may and may not work, I would suggest you add the R

Re: [PHP] mail() function

2002-05-29 Thread Stuart Dallas
Ed Gorski <[EMAIL PROTECTED]> wrote: > lol.what does that return? Usually a more knowledgable programmer occasionally with a sense of acheivement attached. -- Stuart > At 09:08 PM 5/29/2002 -0700, r wrote: >> That may and may not work, I would suggest you add the RTFM() >> function, then it

Re: [PHP] mail() function

2002-05-29 Thread Ed Gorski
lol.what does that return? At 09:08 PM 5/29/2002 -0700, r wrote: >That may and may not work, I would suggest you add the RTFM() function, then >it WILL work. >Cheers, >-Ryan >- Original Message - >From: "Phil Schwarzmann" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Wednesday,

Re: [PHP] mail() function

2002-05-29 Thread r
That may and may not work, I would suggest you add the RTFM() function, then it WILL work. Cheers, -Ryan - Original Message - From: "Phil Schwarzmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 29, 2002 7:57 AM Subject: [PHP] mail() function > I want to write a simp

RE: [PHP] mail() function

2002-05-29 Thread James Holden
RTFM! mail($email_address,$subject,$message,$header); You can use @mail to supress any errors produced. Example: @mail("[EMAIL PROTECTED]","This is a Test","My Message","From: James <[EMAIL PROTECTED]>"); Look at: http://uk.php.net/manual/en/ref.mail.php - James www.LondonTown.com -Ori

Re: [PHP] mail() function

2002-05-29 Thread 1LT John W. Holmes
Yes. - Original Message - From: "Phil Schwarzmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 29, 2002 10:57 AM Subject: [PHP] mail() function > I want to write a simple script that sends an e-mail message using PHP. > > I'm assuming that my web-host has the mai

Re: [PHP] mail() source code

2002-05-28 Thread Stuart Dallas
Anthony Rodriguez <[EMAIL PROTECTED]> wrote: > I'm planning to write a "modified" mail() to include the "true" > return-path. In order to do so, I need to communicate directly with > sendmail and, in my newbie's opinion, a good start would be to > review the source code of the mail(). Before yo

Re: [PHP] mail() function

2002-05-27 Thread Pushkar Pradhan
dhan <[EMAIL PROTECTED]> > To: Jochem Kempe <[EMAIL PROTECTED]> > CC: [EMAIL PROTECTED] > Subject: Re: [PHP] mail() function > Date: Mon, 27 May 2002 14:58:37 -0500 (CDT) > > There is also a user note at the bottom of the documentation: > I tried to put "\r\n&q

Re: [PHP] mail() function

2002-05-27 Thread Pushkar Pradhan
There is also a user note at the bottom of the documentation: I tried to put "\r\n" at the end of each header line and Netscape 4.7 didn't work properly. I changed to "\n" and it worked well. So, I tried it on Outlook Express 5.5 and Eudora 5.1 and it worked too with "\n" only. I hope it helps...

Re: [PHP] Mail Headers problem.......

2002-05-24 Thread Analysis & Solutions
On Fri, May 24, 2002 at 10:58:08AM -0500, CDitty wrote: > if(IsSet($Mime_Version)){ > $Mime_Version = "MIME-Version: $Mime_Version\r\n"; > } Man, THINK! Did you set $Mime_Version anywhere in your code before this point? What happens here if $Mime_Version isn't set already? Then, remem

Re: [PHP] Mail Headers problem.......

2002-05-24 Thread Jason Wong
On Saturday 25 May 2002 01:29, CDitty wrote: > I have looked at it and from what I understand, it should be working but > it's not. Try plugging in fixed strings for your headers and see what results. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integ

Re: [PHP] Mail Headers problem.......

2002-05-24 Thread CDitty
I have looked at it and from what I understand, it should be working but it's not. At 12:18 PM 5/24/2002, you wrote: >Hi: > > > Per your request.. > >[... code snipped ...] >My request was really for you to examine your code, not to send the code >to me: > > > > >... I'm guessing the $Mime_V

Re: [PHP] Mail Headers problem.......

2002-05-24 Thread Analysis & Solutions
Hi: > Per your request.. [... code snipped ...] My request was really for you to examine your code, not to send the code to me: > >... I'm guessing the $Mime_Version is only > >getting "Status:\n" stuck into it. Then, your $headers string adds the > >extra "\n" which results in the follow

Re: [PHP] Mail Headers problem.......

2002-05-24 Thread CDitty
Per your request.. Chris // To email address if(substr($lines[$i], 0, 2) == "To"){ $To = substr($lines[$i], 4, strlen($lines[$i])); eregi("([A-Z0-9\.\-]+@[A-Z0-9\.\-]+\.[A-Z\.]+)", $To, $To); }elseif(substr($lines[$i], 0, 4) == "From"){// From email address $From =

Re: [PHP] mail() with images *embedded*

2002-05-24 Thread m u i n a r
Works! It was the order how headers and message were composed in the script. Now even my Eudora displays it fine. Now I'm gonna switch back to my old email settings... ;) Thanks for having time. Mike At 11:51 24.05.02, you wrote: >Can I assume that Eudora /does/ show inline images given a 'cor

[PHP] Re: PHP Mail problem

2002-05-24 Thread Michael Virnstein
refer to the manual of your email server and check for quota settings. You obviously reached the quota limit there and now you're not allowed to send any data, until the quota is reset. This may be on a daily or monthly basis or perhaps you have to do it manually. Regards Michael "Manisha" <[EMA

Re: [PHP] mail() with images *embedded*

2002-05-24 Thread Jason Wong
On Friday 24 May 2002 17:24, m u i n a r wrote: > Outlook shows the images inline... *and* attaches them to the end of the > email - is that standard? Not with *my* code :) It only displays it inline (it's actually a table with a column for picture and some columns for description and other inf

Re: [PHP] mail() with images *embedded*

2002-05-24 Thread m u i n a r
Outlook shows the images inline... *and* attaches them to the end of the email - is that standard? (It's a horror to work with Outlook and this kind of setup, so I can't really tell myself - brrr... ) Since Eudora doesn't display the inline images, though I tried all possible and impossible sett

Re: [PHP] mail() with images *embedded*

2002-05-24 Thread Jason Wong
On Friday 24 May 2002 15:36, m u i n a r wrote: [snip] > The encoding works, the message looks fine, just the images are not > embedded but attached. Aaargh :( Like I said before it, what I had works on Outlook and not on KMail. As my client only uses Outlook and it worked I didn't do any fur

Re: [PHP] mail() with images *embedded*

2002-05-24 Thread m u i n a r
At 08:44 24.05.02, you wrote: >I used: > > cid:01.jpg\"; width=\"600\" height=\"75\"> ... after the html I have: $file = "01.jpg"; $path = "/usr/www/users/muinar/rtj/i/newsletter-title.jpg"; $fp = fopen( $path,"r" ); $attachment = fread( $fp,filesize( $path

Re: [PHP] mail() with images *embedded*

2002-05-23 Thread Jason Wong
On Friday 24 May 2002 14:09, m u i n a r wrote: > At 06:05 24.05.02, you wrote: > >On Friday 24 May 2002 04:15, m u i n a r wrote: > > > Hi Listees ;) > > > > > > After several hours of googling and testing, I'm asking the list for > > > some help with this PHP mail() question: How do you send em

Re: [PHP] mail() with images *embedded*

2002-05-23 Thread m u i n a r
At 06:05 24.05.02, you wrote: >On Friday 24 May 2002 04:15, m u i n a r wrote: > > Hi Listees ;) > > > > After several hours of googling and testing, I'm asking the list for some > > help with this PHP mail() question: How do you send email with images > > *embedded* in the message? > >To find ou

Re: [PHP] Mail Headers problem.......

2002-05-23 Thread Analysis & Solutions
On Thu, May 23, 2002 at 10:19:51PM -0500, CDitty wrote: > $to = "$user_email[0]"; > $subj = "$Subject"; > $msg = "$Message"; > > $headers = "From: $From[1]\n"; > $headers .= "$Mime_Version\n"; > $headers .= "$Content_Type\n"; You're not showing us how you come up with the $From[1], $Mime_Versio

Re: [PHP] mail() with images *embedded*

2002-05-23 Thread Jason Wong
On Friday 24 May 2002 04:15, m u i n a r wrote: > Hi Listees ;) > > After several hours of googling and testing, I'm asking the list for some > help with this PHP mail() question: How do you send email with images > *embedded* in the message? To find out how it was done, what I did was to use Ou

RE: [PHP] Mail Headers problem.......

2002-05-23 Thread CDitty
Actually tried that earlier. No difference in the result. Chris At 10:48 PM 5/23/2002, you wrote: >dunno if this helps, but try using "\r\n" instead of just "\n" when you >create $headers > >-Original Message- >From: CDitty [mailto:[EMAIL PROTECTED]] >Sent: Friday, May 24, 2002 1:20 PM

RE: [PHP] Mail Headers problem.......

2002-05-23 Thread Martin Towell
dunno if this helps, but try using "\r\n" instead of just "\n" when you create $headers -Original Message- From: CDitty [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 1:20 PM To: [EMAIL PROTECTED] Subject: [PHP] Mail Headers problem... I am writing a small email logging / for

Re: [PHP] Mail() function performance/optimization question

2002-05-21 Thread Wesley Furgiuele
I am in a shared hosting environment. Here's the info I grab from phpinfo(): SunOS admin 5.7 Generic_106541-16 sun4u sparc SUNW,UltraAX-MP sendmail_path: /usr/lib/sendmail -t SMTP: localhost I don't yet know what the "-t" flag means on the Sendmail path. Also, I included the SMTP value but I a

Re: [PHP] Mail() function performance/optimization question

2002-05-21 Thread Miguel Cruz
What platform and MTA are you using? Your MTA may be trying to handle the message while-u-wait rather than queuing it properly. miguel On Tue, 21 May 2002, Wesley Furgiuele wrote: > Adding a mail() step to my page increases the page load time from an average > of about 2 seconds to nearly 8 se

Re: [PHP] Mail server

2002-05-05 Thread Miguel Cruz
On Sun, 5 May 2002, Diana Castillo wrote: > Does anyone know of a free mail server to install on a linux server that > works better than fmail? Never heard of fmail, but qmail works a treat. Used by yahoo mail, etc. Fast and secure. The place to talk about this stuff is the comp.mail.* newsgro

RE: [PHP] Mail server

2002-05-05 Thread Insomniac Admin
Qmail : www.lifewithqmail.org / www.qmail.org / http://cr.yp.to/qmail/ -Original Message- From: Diana Castillo [mailto:[EMAIL PROTECTED]] Sent: 05 May 2002 12:17 To: [EMAIL PROTECTED] Subject: [PHP] Mail server Does anyone know of a free mail server to install on a linux server that w

RE: [PHP] mail() errors and alternatives

2002-04-30 Thread John Holmes
There are some classes that use sockets to send mail by connecting directly to an SMTP server. Look on hotscripts.com or phpclasses.com (.org?) ---John Holmes... > -Original Message- > From: John Hughes [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 30, 2002 10:01 AM > To: [EMAIL PROT

Re: [PHP] mail() through a form

2002-04-26 Thread Rasmus Lerdorf
> $query = "SELECT * FROM {$config["prefix"]}_users WHERE uid = > {$session["uid"]}"; $query = "SELECT * FROM ".${$config['prefix'].'_users'}." WHERE uid = $session[uid]"; > $result = mysql_query($query); $result = mysql_query($query) or die(mysql_erro()); > $row = mysql_fetch_array($result);

RE: [PHP] Mail responders

2002-04-26 Thread Steve
< I'd like to send an email to something like [EMAIL PROTECTED] but have a < PHP script get the mail and operate on it... You might want to reference an article from the May issue of Sysadmin Magazine ( http://www.sysadminmag.com/ ) title 'Using Email to Perform UNIX System Monitoring and Cont

Re: [PHP] Mail responders

2002-04-26 Thread Jason Wong
On Saturday 27 April 2002 01:13, JSheble wrote: > How would you set this up via PHP? I've wanted to do this, but I always > thought it was something specific to SendMail, and in a hosted environment, > mucking about with SendMail generally isn't allowed... > > I'd like to send an email to somethi

Re: [PHP] Mail responders

2002-04-26 Thread Richard Emery
ay, April 26, 2002 12:05 PM Subject: Re: [PHP] Mail responders How is that done on the box? Miguel Cruz wrote: > > On Fri, 26 Apr 2002, Dennis Gearon wrote: > > All these lists that have addresses to subscribe, unsubscribe, etc, how > > do they work? Are they using a cron job

Re: [PHP] Mail responders

2002-04-26 Thread Miguel Cruz
1) Make sure you have built the CGI versions of PHP. 2) Create a PHP script file that begings with a bangpath invocation of the PHP CGI binary. So, if your standalone PHP were located in /usr/local/bin/php, your PHP file would start with: #!/usr/local/bin/php -q 3) In your script, use fopen,

Re: [PHP] Mail responders

2002-04-26 Thread JSheble
How would you set this up via PHP? I've wanted to do this, but I always thought it was something specific to SendMail, and in a hosted environment, mucking about with SendMail generally isn't allowed... I'd like to send an email to something like [EMAIL PROTECTED] but have a PHP script get t

Re: [PHP] Mail responders

2002-04-26 Thread Dennis Gearon
How is that done on the box? Miguel Cruz wrote: > > On Fri, 26 Apr 2002, Dennis Gearon wrote: > > All these lists that have addresses to subscribe, unsubscribe, etc, how > > do they work? Are they using a cron job to poll the mail inbox through > > sendmail? Does all mail not to a specific addr

Re: [PHP] Mail responders

2002-04-26 Thread Miguel Cruz
On Fri, 26 Apr 2002, Dennis Gearon wrote: > All these lists that have addresses to subscribe, unsubscribe, etc, how > do they work? Are they using a cron job to poll the mail inbox through > sendmail? Does all mail not to a specific address at the site go to a > 'catchall' address, which is then p

Re: [PHP] mail() Returned mail: Data format error (

2002-04-26 Thread Miguel Cruz
On Fri, 26 Apr 2002, SeanW wrote: > Using this command > > mail( > > $mailrow[email], >$subject, >$spamstr, >"From: me@mydomain\r\n >Content-type: text/html; charset=us-ascii\r\n >Contenet-Transfer-Encoding: 7b

Re: [PHP] mail() not sending -- Little bit OT

2002-04-25 Thread Justin French
Are you using headers in your mail script??? I'm no expert on sendmail at all, but your host may require the From: [EMAIL PROTECTED] header before it will send It's worth a shot :) Otherwise, does the binary and Apache version share the same php.ini file Justin French --

Re: [PHP] mail() not sending -- Little bit OT

2002-04-25 Thread Miguel Cruz
On Fri, 26 Apr 2002, David Redmond wrote: > When attempting to send an email through a PHP script via Apache, no emails > are sent. However if I use the standalone binary and run the same script > but on the console then it works fine. > > Because of that I have a feeling that there is something

RE: [PHP] mail() + attachment

2002-04-21 Thread Boaz Yahav
Class for sending mail with MIME attachments in multipart format using external send mail, mime code and zip http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=336 Class to send a file as an attachment with the php mail() function. http://www.weberdev.com/index.php3?GoTo=get_example.p

Re: [PHP] mail() + attachement

2002-04-20 Thread heinisch
At 20.04.2002 22:44, you wrote: > >Is it possible to send with mail an attachment .. if yes, how ??? > >Greetings >wolf Hi Wolf, just ask google, or the archives there are a few classes and functions which will do what you want. If you like OOP you will find certains under http://www.phpclasses.o

Re: [PHP] Mail function acting a bit differently

2002-04-03 Thread lmlweb
Yes.. I found that there. My site doesn't allow .htaccess - now I'm off to find out why. "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > On Wednesday 03 April 2002 12:06, lmlweb wrote: > > How can I do that - controlling via .htaccess? Pointing me to references > > w

Re: [PHP] mail() problem...

2002-04-03 Thread Miguel Cruz
On Wed, 3 Apr 2002, Jack Davis wrote: > mail("$arrText[$i]", $subject, $message, $headers); mail (trim($arrText[$i]), $subject, $message, $headers); miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] mail() problem...

2002-04-03 Thread Rick Emery
$arrText[$i] still contains the new-line character at the end. Is that harmful here? -Original Message- From: Jack Davis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 3:16 PM To: [EMAIL PROTECTED] Subject: [PHP] mail() problem... I wrote a small piece of code to take a tex

RE: [PHP] Mail Function

2002-04-03 Thread Mark Roedel
Have you verified that the mail settings in your php.ini are correct? --- Mark Roedel | "Blessed is he who has learned to laugh Systems Programmer| at himself, for he shall never cease LeTourneau University | to be entertained." Longview, Texas, USA | --

RE: [PHP] mail tag

2002-04-03 Thread Rick Emery
stripslashes() failed??? I've used stripslahses in this situation, and it's worked perfectly. Wonder what else is going on here? Go without quotes. Try: mail($usersemail, $subject, $message, $headers); -Original Message- From: hamish [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April

Re: [PHP] Mail function acting a bit differently

2002-04-02 Thread Jason Wong
On Wednesday 03 April 2002 12:06, lmlweb wrote: > How can I do that - controlling via .htaccess? Pointing me to references > would be good. The manual is a good reference. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk /* Remember: Silly is a state of Mind, Stupid is a way of Lif

Re: [PHP] Mail function acting a bit differently

2002-04-02 Thread eric.coleman
Why not just do foreach($form as $key => $value) { $form[$key] = stripslashes($form[$key]); } Eric - Original Message - From: "lmlweb" <[EMAIL PROTECTED]> To: <> Sent: Tuesday, April 02, 2002 11:04 PM Subject: Re: [PHP] Mail function acting a bit diff

Re: [PHP] Mail function acting a bit differently

2002-04-02 Thread lmlweb
How can I do that - controlling via .htaccess? Pointing me to references would be good. TIA LML "Miguel Cruz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Tue, 2 Apr 2002, lmlweb wrote: > > Hosted web, so option to turn on or off is up to the hosting co

Re: [PHP] Mail function acting a bit differently

2002-04-02 Thread lmlweb
I've answered myself, thanks all! It's definitely > $form[message] = stripslashes($form[message]); mail(...); "Lmlweb" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hosted web, so option to turn on or off is up to the hosting company, not > me. > > stripsla

Re: [PHP] Mail function acting a bit differently

2002-04-02 Thread Miguel Cruz
On Tue, 2 Apr 2002, lmlweb wrote: > Hosted web, so option to turn on or off is up to the hosting company, not > me. Perhaps you can control it from a .htaccess file? miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Mail function acting a bit differently

2002-04-02 Thread Martin Towell
on-numerical indexes, but anyway) would be the way to go Martin -Original Message- From: lmlweb [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 2:00 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Mail function acting a bit differently Hosted web, so option to turn on or off is up to

Re: [PHP] Mail function acting a bit differently

2002-04-02 Thread lmlweb
Hosted web, so option to turn on or off is up to the hosting company, not me. stripslashes what? $form = stripslashes($form); mail(...); or $form[message] = stripslashes($form[message]); mail(...); "Martin Towell" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

RE: [PHP] Mail function acting a bit differently

2002-04-02 Thread Martin Towell
stripslashes() should work - or set the magic quote thingy to off -Original Message- From: lmlweb [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 1:12 PM To: [EMAIL PROTECTED] Subject: [PHP] Mail function acting a bit differently I got an email someone submitted through my we

Re: [PHP] mail() function.

2002-03-30 Thread Tyler Longren
Actually, that type of stuff is at the top of all e-mails. You'd always see it if you set your e-mail client to show you the headers. So, it may be something with your e-mail client. Can you provide the code you're using to send the e-mail? The mail() part would suffice. Tyler Longren Captain

RE: [PHP] mail() function returns TRUE but no email is sent

2002-03-25 Thread Demitrious S. Kelly
I would check the mail logs on the smtp server ?(if you have access) or... try this and see if ANY mail is bveing sent to you (assumes a unix server with sendmail (or compatible) binary installed) $fp=fopen('./tmp', 'w'); fputs($fp, 'Subject: '.$reportsubject.chr(10)); fputs($fp, $

Re: [PHP] mail() function returns TRUE but no email is sent

2002-03-25 Thread Rasmus Lerdorf
Sure, it just passes it off to the MTA. If the MTA drops the ball later on we don't know about it. Check your logs. On Mon, 25 Mar 2002, Kevin Stone wrote: > Anyone run into this problem before? I've got a simple email parser > that I've set up for our clients to access from their websites.

Re: [PHP] mail()

2002-03-20 Thread bvr
Jennifer, The SMTP option in php.ini is for Windows only. On other platforms you should specify a delivery program (sendmail). If you still want to use an external server, there are classes available that send mail through an SMTP server without using mail(). bvr. Jennifer wrote: > sorry..

Re: [PHP] mail

2002-03-20 Thread Krzysztof Kocjan
//-- function sendmail( $From, $To, $CC, $BCC, $Replay_To, $Subject, $Body, $Mailer, $Extra_Header ) { $Header = ''; $Heade

Re: [PHP] mail

2002-03-20 Thread TV Karthick Kumar
Yeah, just add "Cc:[EMAIL PROTECTED]" to your headers, that's it... Karthick - Original Message - From: "Sven Jacobs" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 20, 2002 11:51 AM Subject: [PHP] mail > hey > > Is it possible to put somebody in CC when you us

<    3   4   5   6   7   8   9   10   >