RE: [PHP] Mail From option in PHP.ini

2003-07-18 Thread Mark
that one...:-) -Original Message- From: M.A.Bond [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 11:31 AM To: 'sysadmin'; 'sven'; php-general Subject: RE: [PHP] Mail From option in PHP.ini I take it you've also tried setting Reply-To: ?? Same format as From: Mark

RE: [PHP] Mail From option in PHP.ini

2003-07-18 Thread Brian S. Drexler
GREAT!!! I guess I need to RTFM...:-) Thanks again for all your help everyone! -Original Message- From: Mark [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2003 11:38 AM To: [EMAIL PROTECTED]; 'M.A.Bond'; 'sven'; 'php-general' Subject: RE: [PHP] Mail From option in PHP.ini From

[PHP] mail() sending mails twice to the e-mails addresses at BCC

2003-07-15 Thread Maria Garcia Suarez
Hi there! As I explained yesterday I am developing a group of pages to let users send mails from them. For that I am using the mail() function. The problem I face is that the addresses I write at the BCC field receive mails twice (not the one at the To: field, just the ones at the BCC:). It

[PHP] mail()

2003-07-14 Thread Tim Thorburn
Hi, I've made a script that loops through a MySQL database and sends a message to all users with an email address on file. My client is now not certain if all their email addresses are accurate and would like to know which ones are and which ones are not. Is there a way, using mail() to tell

Re: [PHP] mail()

2003-07-14 Thread Jasper Bryant-Greene
mail() returns true if the email delivery worked, false if it failed. However, occasionally the email delivery will work, but will fail at a later stage (a delivery failed message will be returned to the sender) - you can check for this by having a script check the mailbox that was sent from,

[PHP] mail() - how to attach file to the message???

2003-07-09 Thread szparag
i know that in mail-form i need input type=file name=attach but i don't know how to write message headers to send file with e-mail. please help me. szparag. IncrediMail - Email has finally evolved - Click Here

Re: [PHP] mail() - how to attach file to the message???

2003-07-09 Thread Marek Kilimajer
Use this class: http://www.phpclasses.org/mimemessage szparag wrote: i know that in mail-form i need input type=file name=attach but i don't know how to write message headers to send file with e-mail. please help me. szparag. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] mail() - how to attach file to the message???

2003-07-09 Thread Chris Hayes
this worked for me but i did some editing and censoring oso maybe a tiny bug got in. ///SETUP strings $subject='hi there, this is not a Viagra business proposal, '; $mailto = '[EMAIL PROTECTED],[EMAIL PROTECTED]';// for multiple recipients, use comma '[EMAIL PROTECTED],[EMAIL

[PHP] Mail Header/Return Receipt

2003-07-08 Thread Brian S. Drexler
Ok, I have an interesting one here. I'm trying to send an e-mail from Server A, through Server B, and to a recipient using PHP on Server A. Server B relays the e-mail because Server A does not have an internet connection. Now, I want to request a read/delivery receipt for the user sending the

RE: [PHP] Mail Header/Return Receipt

2003-07-08 Thread Ralph Guzman
/[EMAIL PROTECTED] WIDTH=1 HEIGHT=1 BORDER=0 -Original Message- From: Brian S. Drexler [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 11:19 AM To: 'Ralph Guzman' Subject: RE: [PHP] Mail Header/Return Receipt That is a good idea. I can tell them it has at least been sent from our

[PHP] mail() function

2003-07-07 Thread Mike At Spy
Is anyone familiar with the mail function and how it works on the server? I can't get it to work on a client's server, and this error shows up in the error log: PHP Warning: U1À‰å]Éö¼': Unable to initialize module Module compiled with debug=144, thread-safety=135 module API=1119810252 PHP

Re: [PHP] mail() function

2003-07-07 Thread Adam Voigt
Yeah, umm, thats a weird error message. What server platform / OS? On Mon, 2003-07-07 at 12:58, Mike At Spy wrote: Is anyone familiar with the mail function and how it works on the server? I can't get it to work on a client's server, and this error shows up in the error log: PHP Warning:

RE: [PHP] mail() function

2003-07-07 Thread Mike At Spy
To: Mike At Spy Cc: [EMAIL PROTECTED] Subject: Re: [PHP] mail() function Yeah, umm, thats a weird error message. What server platform / OS? On Mon, 2003-07-07 at 12:58, Mike At Spy wrote: Is anyone familiar with the mail function and how it works on the server? I can't get

RE: [PHP] mail() function

2003-07-07 Thread Brian S. Drexler
PROTECTED] Sent: Monday, July 07, 2003 1:57 PM To: [EMAIL PROTECTED]; Mike At Spy Cc: [EMAIL PROTECTED] Subject: RE: [PHP] mail() function I can't tell what the version is, but I can tell you that the kernel is: 2.4.7-10 Maybe it has something to do with what identity php or sendmail is running

RE: [PHP] mail() function

2003-07-07 Thread Brian S. Drexler
Can you run a regular phpinfo() command? -Original Message- From: Mike At Spy [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 1:57 PM To: [EMAIL PROTECTED]; Mike At Spy Cc: [EMAIL PROTECTED] Subject: RE: [PHP] mail() function I can't tell what the version is, but I can tell you

RE: [PHP] mail() function

2003-07-07 Thread Mike At Spy
- From: Brian S. Drexler [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 2:06 PM To: 'Mike At Spy' Subject: RE: [PHP] mail() function I assume you are running this on the command line. Does the file have the correct permissions? -Original Message- From: Mike At Spy

RE: [PHP] mail() function

2003-07-07 Thread Mike At Spy
They have it set to Show all errors except for notices. -Mike -Original Message- From: Brian S. Drexler [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2003 2:18 PM To: 'Mike At Spy' Subject: RE: [PHP] mail() function Ok, so if it is a command line issue it's not the problem

Re: [PHP] mail()

2003-07-05 Thread Jason Wong
On Saturday 05 July 2003 02:57, Phil Dowson wrote: Could someone let me know if it is possible to pass a resultset of a query to a single variable so it can be included as the message part of the mail function? Short answer: yes Long answer: what exactly are you trying to do and what exactly

Re: [PHP] mail()

2003-07-05 Thread Dan Anderson
Could someone let me know if it is possible to pass a resultset of a query to a single variable so it can be included as the message part of the mail function? if I were you I would try something like... ?php $result = mysql_query($query); $email = NULL; // it's bad form to dot without

Re: [PHP] mail()

2003-07-05 Thread Phil Dowson
Perfect solution. Thanks!!! - Original Message - From: Dan Anderson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, July 05, 2003 4:30 am Subject: Re: [PHP] mail() Could someone let me know if it is possible to pass a resultset of a query to a single variable so it can

[PHP] mail()

2003-07-04 Thread Phil Dowson
Hi, Could someone let me know if it is possible to pass a resultset of a query to a single variable so it can be included as the message part of the mail function? Thanks! Phil Dowson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mail + regex + somethoughts

2003-07-03 Thread - Edwin -
Hi, Shivanischal A [EMAIL PROTECTED] wrote: Hi friends, I was just wondering about this. Whenver we reply to the posts here, we just click on the reply button and fire off our messages. This results in long messages (fresh content + earlier content) within a single mail. Now, the question

Re: [PHP] mail() with OSX

2003-07-02 Thread Michael Mulligan
It has sendmail installed but you need to look into activating it as it is not enabled by default (I don't know how off the bat, but google should help) Hope this helps On 07/02/03 11:07 PM, Justin French [EMAIL PROTECTED] wrote: Hi all, I've googled, but to no avail... I have apache 1.3.x,

[PHP] mail + regex + somethoughts

2003-07-02 Thread Shivanischal A
Hi friends, I was just wondering about this. Whenver we reply to the posts here, we just click on the reply button and fire off our messages. This results in long messages (fresh content + earlier content) within a single mail. Now, the question is how would we use the regex functions to remove

Re: [PHP] mail() with OSX

2003-07-02 Thread Justin French
Excellent -- found it straight away! http://www.roadstead.com/weblog/Tutorials/SMSource.html Thx Justin On Thursday, July 3, 2003, at 02:12 PM, Michael Mulligan wrote: It has sendmail installed but you need to look into activating it as it is not enabled by default (I don't know how off the

[PHP] MAIL( ) - Send mail using another SMTP

2003-06-21 Thread Chinmoy Barua
Hello Everybody, I don't have sendmail/qmail on my web server where i installed PHP. But I want to send mails from web server using PHP. Can anybody tell me, how can i use another SMTP server to send mails? I don't like to change php.ini on my web server. Thank You, - Chinmoy

[PHP] mail() without subjects and froms

2003-06-20 Thread Johannes Reichardt
Hi there! I have a weired problem with a 4.12 php version on win2k. When i mail more then one email i often have the problem that the mail reaches their recipient but the subject and from does not work properly, instead this is on top of the email. but strangely sometimes it just works normal.

Re: [PHP] mail() without subjects and froms

2003-06-20 Thread David Nicholson
Hello, This is a reply to an e-mail that you wrote on Fri, 20 Jun 2003 at 16:40, lines prefixed by '' were originally written by you. Hi there! I have a weired problem with a 4.12 php version on win2k. When i mail more then one email i often have the problem that the mail reaches their

Re: [PHP] mail() without subjects and froms

2003-06-20 Thread David Nicholson
Hello, This is a reply to an e-mail that you wrote on Fri, 20 Jun 2003 at 17:44, lines prefixed by '' were originally written by you. Hi! I guess i do not make any weired things, the configuration looks like this: mail($mail, $message, From: [EMAIL PROTECTED][EMAIL PROTECTED]);

RE: [PHP] Mail() problem

2003-06-17 Thread Maikel Verheijen
Hi Don, ?php $cmd='/bin/sh -c set'; passthru($cmd); echo 'P'; putenv(REMOTE_ADDR=$REMOTE_ADDR); passthru($cmd); echo 'P'; ? This code will work, but I want to be able to enforce it on people that use the mail() function. I want php to call sendmail (The one from php.ini that is)

Re: [PHP] Mail() problem

2003-06-15 Thread Don Read
On 10-Jun-2003 Maikel Verheijen wrote: snip Unfortunately php does NOT pass on these environment variabeles to the program that gets called as the mail-program (In my case my mini-sendmail). This renders this little spamfinder trick unusable, which is too bad :( If someone has a

[PHP] Mail() and html

2003-06-14 Thread gregory landry
Good Morning, Hopefully I'm not asking questions that are too basic. I am new to this list and new to PHP. If my questions are too basic please let me know and I'll direct them elsewhere. I'm at a very basic level with PHP. I'm working with form data and sending the information out in

RE: [PHP] Mail() and html

2003-06-14 Thread gregory landry
Got it! Thanks... -Original Message- From: gregory landry [mailto:[EMAIL PROTECTED] Sent: Saturday, June 14, 2003 6:23 AM To: PHP Mail List Subject: [PHP] Mail() and html Good Morning, Hopefully I'm not asking questions that are too basic. I am new to this list and new to PHP. If my

[PHP] Mail() problem

2003-06-10 Thread Maikel Verheijen
Hi list, Has anyone ever tried to use REMOTE_ADDR to be sent along with emails sent from php-scripts that use the mail() function? I have built a small auto-relaying sendmail (crudely based on mini-sendmail, http://www.acme.com/software/mini_sendmail/) that adds a received header containing the

[PHP] Mail Username

2003-06-10 Thread Josh Thomas
I know that if you use sendmail to perform your mailings in php that the sender shows up as the user and group for Apache. Now is there a way to make the mail command display a different user in the from field? I know that I could change the user/group for Apache to fix it, but is there a setting

Re: [PHP] Mail Username

2003-06-10 Thread John S. Huggins
You can add extra info into the appropriate fields like so. mail([EMAIL PROTECTED], the subject, $message, From: [EMAIL PROTECTED],[EMAIL PROTECTED]); However, your local sendmail might restrict this behavoir of changing the sender identity. Mine simply complaines about it in the mail

[PHP] mail() function exchange

2003-06-10 Thread Matthias Wulkow
Hi php-general, a friend of mine is trying to set up an automated mailing function. The platform is Windows he's using the last PHP release at this time. He asks me how to do it with Exchange, because it doesn't speak SMTP or not correctly? What is the matter? Is that true? But that's not really

[PHP] mail() problem affecting output to browser on completion

2003-06-07 Thread PHP4 Emailer
Alright with the following code I am using is printing/echoing to the browser a 1 before the html output. It's like it's adding 2 variables together. Here is what I am trying to do. I have a form that enters information to a text file, and at the same time sends the information to a predetermined

RE: [PHP] mail() problem affecting output to browser on completion

2003-06-07 Thread John W. Holmes
Alright with the following code I am using is printing/echoing to the browser a 1 before the html output. It's like it's adding 2 variables together. Here is what I am trying to do. I have a form that enters information to a text file, and at the same time sends the information to a

RE: [PHP] Mail - avoid backslash before apostrophe

2003-06-03 Thread Dillon, John
I have a text box on a web page and submit button. The php code sends the text as an email. If the text includes an inverted comma/apostrophe the email will include a backslash before it, thus: \'. I know how to str_replace in php, but what do I need to replace the apostrophe with to avoid the

RE: [PHP] Mail - avoid backslash before apostrophe

2003-06-03 Thread Adam Voigt
Umm, try this: $body = str_replace('\'','#39;',stripslashes($_POST['message'])); mail($to,$subject,$body,Content-type:text/html\r\n); On Mon, 2003-06-02 at 11:12, Dillon, John wrote: I have a text box on a web page and submit button. The php code sends the text as an email. If the text

RE: [PHP] Mail - avoid backslash before apostrophe

2003-06-03 Thread Hardik Doshi
Hi there, I think you need to check magic quotes setting under php.ini. I guess it should be on. Try to make it off and try your mail function. Thanks Hardik Doshi --- Dillon, John [EMAIL PROTECTED] wrote: I have a text box on a web page and submit button. The php code sends the text as an

Re: [PHP] Mail - avoid backslash before apostrophe

2003-06-03 Thread Marek Kilimajer
You have magic_quotes on, with this setting php runs addslashes() on every $_REQUEST variable (so you can use them in sql queries right away). So you need to use stripslashes() before sending it as mail. Dillon, John wrote: I have a text box on a web page and submit button. The php code sends

[PHP] Mail Harvester Warning (was Re: [PHP] I guess I'll give the list a shot [T2003060200WW])

2003-06-03 Thread Steve Keller
Just wanted to pass a little warning on to the list. I sent a reply to David McGlone ([EMAIL PROTECTED]) and my email got forwarded to an address at Bonzi.com. I'm not sure if they're using list replies to harvest email addresses or not, but I'll definitely be watching my in-box. From:

Re: [PHP] mail function problem

2003-05-31 Thread Michael Geier
changing the value in the php.ini file is not the ideal option, as it screws things up for all of users/scripts on the server. you could use ini_set() for the script to change the sendmail_path var for that script. you could use a mail class that does alot of the grunt work for you (Manuel Lemos

[PHP] Mail - mime question

2003-05-30 Thread Jim McNeely
I've come a long way with many google searches an I almost have this working, so have mercy!!! So what am I missing here? I'm doing a Mail_mime class smtp mail from php using PEAR. It needs to have text and html versions which is why I'm using this. It is sending out the email OK, but when I

Re: [PHP] Mail - mime question

2003-05-30 Thread Manuel Lemos
Hello, On 05/30/2003 02:28 AM, Jim McNeely wrote: I've come a long way with many google searches an I almost have this working, so have mercy!!! So what am I missing here? I'm doing a Mail_mime class smtp mail from php using PEAR. It needs to have text and html versions which is why I'm using

[PHP] mail function problem

2003-05-30 Thread Bersani Francesco
Hi, I have a problem with the mail function; it always sends mails assuming in the from field the user [EMAIL PROTECTED]. I tried to override it with this code: ? $email = [EMAIL PROTECTED]; $subject = prova invio mail ; $message = parappaaa ; $headers = From:[EMAIL

Re: [PHP] mail function problem

2003-05-30 Thread David Grant
Bersani Francesco wrote: Hi, I have a problem with the mail function; it always sends mails assuming in the from field the user [EMAIL PROTECTED]. I tried to override it with this code: ? $email = [EMAIL PROTECTED]; $subject = prova invio mail ; $message = parappaaa ;

Re: [PHP] Mail problem

2003-05-27 Thread Mark
I don't believe you can use the form of Someone [EMAIL PROTECTED]. I believe this is what the MTA receives as the MAIL TO (not to be confused with eth To: header), and it's not a legal format for that. --- Rosen [EMAIL PROTECTED] wrote: Hi, I'm using PHP 4.3.1 on Win98 and I have a problem with

RE: [PHP] Mail Header - id this PHP

2003-03-26 Thread John W. Holmes
I am trying to format the mail header that will be send by mail(). One thing that I noticed was it only accept for the first no. of lines or charracters (???) See sample 1 2. Is this a php problem (4.2.2) or has something to do the mailer ??? This script is working on (4.2.1) but is in

Re: [PHP] mail() Bcc:

2003-03-25 Thread David T-G
John, et al -- One more nit to add to this... ...and then CPT John W. Holmes said... % ... % % You can do it like this: % % $headers = From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: % [EMAIL PROTECTED]; Yes, figuring that the added line break is just because of a dumb mail program :-0 % % or

[PHP] mail() function

2003-03-24 Thread John Love
The use of the standard mail(...) function is just not working and I would really appreciate some patient soul's time to access: http://www.up.net/~jolove/PHP/EMail/EmailPHP.phps and look at the code ... it really is very short ... The function send() returns success, yet my mail client,

[PHP] mail() Bcc:

2003-03-24 Thread Oden Odenius
How can send bcc: with mail()? -- Programmers are tools for convert coffeine into code... (c) Oden _ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail -- PHP General

Re: [PHP] mail() Bcc:

2003-03-24 Thread Bryan Brannigan
$mail-BCC( [EMAIL PROTECTED] ); - Original Message - From: Oden Odenius [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 24, 2003 3:44 PM Subject: [PHP] mail() Bcc: How can send bcc: with mail()? -- Programmers are tools for convert coffeine into code... (c) Oden

Re: [PHP] mail() Bcc:

2003-03-24 Thread Kevin Stone
- Original Message - From: Oden Odenius [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 24, 2003 1:44 PM Subject: [PHP] mail() Bcc: How can send bcc: with mail()? -- Programmers are tools for convert coffeine into code... (c) Oden From, CC and BCC are headers

Re: [PHP] mail() Bcc:

2003-03-24 Thread Leif K-Brooks
Not everyone has whatever class you seem to be using... Bryan Brannigan wrote: $mail-BCC( [EMAIL PROTECTED] ); - Original Message - From: Oden Odenius [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 24, 2003 3:44 PM Subject: [PHP] mail() Bcc: How can send bcc: with mail

Re: [PHP] mail() Bcc:

2003-03-24 Thread CPT John W. Holmes
From: Oden Odenius [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 24, 2003 3:44 PM Subject: [PHP] mail() Bcc: How can send bcc: with mail()? - Original Message - From: Bryan Brannigan [EMAIL PROTECTED] To: Oden Odenius [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent

Re: [PHP] mail() Bcc:

2003-03-24 Thread CPT John W. Holmes
How can send bcc: with mail()? From, CC and BCC are headers to be set in the fourth parameter of the mail() function. Headers must be spearated by end-of-line characters. $headers = From: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] BCC: [EMAIL PROTECTED]; mail($to, $subject, $body,

Re: [PHP] mail() Bcc:

2003-03-24 Thread Kevin Stone
- Original Message - From: CPT John W. Holmes [EMAIL PROTECTED] To: Kevin Stone [EMAIL PROTECTED]; Oden Odenius [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, March 24, 2003 3:51 PM Subject: Re: [PHP] mail() Bcc: How can send bcc: with mail()? From, CC and BCC are headers

Re: [PHP] mail() Bcc:

2003-03-24 Thread Kevin Stone
- Original Message - From: Kevin Stone [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 24, 2003 4:17 PM Subject: Re: [PHP] mail() Bcc: - Original Message - From: CPT John W. Holmes [EMAIL PROTECTED] To: Kevin Stone [EMAIL PROTECTED]; Oden Odenius [EMAIL

Re: [PHP] mail() Bcc:

2003-03-24 Thread Ernest E Vogelsinger
At 23:51 24.03.2003, CPT John W. Holmes said: [snip] If I'm wrong, someone please let me know, but some servers may only accept Bcc: instead of bcc: or BCC:, etc... ?? Does anyone know if that matters? If it does, is it only dependant upon the sending SMTP

[PHP] mail function

2003-03-23 Thread John Love
The use of the standard mail(...) function is just not working and I would really appreciate some patient soul's time to access: http://www.up.net/~jolove/PHP/EMail/EmailPHP.php and look at the code ... it really is very short ... The function send() returns success, yet my mail client,

Re: [PHP] mail function

2003-03-23 Thread Jason Sheets
Hello John, Please make a copy of the file with a .phps or .txt extension so the code is not parsed by PHP. Thanks, Jason John Love wrote: The use of the standard mail(...) function is just not working and I would really appreciate some patient soul's time to access:

[PHP] mail() function.

2003-03-19 Thread Fredrik
Hi I have a problem whith the mail() function. I have used this function several times, but to day it don't work.. I use it like this: mail( $to, $subjekt, $body, $from ); and i got this warning: Warning: Failed to Connect in \\HQ-ADMIN\mail.php on line 237 Fred -- PHP

Re: [PHP] Mail

2003-03-18 Thread Chris Hewitt
Stephen wrote: I am trying to get mail working with my php setup. I have an exchange server that I want to send mail to but I get the error Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for [EMAIL PROTECTED] in I have setup SMTP = my server address and

[PHP] Mail attachment

2003-03-18 Thread Liam Gibbs
I'm not sure why, but I get an attachment when sending out a mail with the following (see below). Well, I shouldn't say an attachment, but in Outlook I get that little paperclip, saying there is an attachment. But when I go to open the attachment, there is nothing there.I'm trying to send it to

Re: [PHP] Mail attachment

2003-03-18 Thread Chris Hayes
At 23:24 18-3-2003, you wrote: I'm not sure why, but I get an attachment when sending out a mail with the following (see below). Well, I shouldn't say an attachment, but in Outlook I get that little paperclip, saying there is an attachment. But when I go to open the attachment, there is nothing

Re: [PHP] Mail attachment

2003-03-18 Thread Liam Gibbs
It may be that the mail receiver expects some content after you put this in the header: Content-Type: text/ascii; charset=iso-8859-1\n If you're sending plain text, and no special (read: non-western) characters, i don't think you need that part. That was the fix. Yer a goldmine.

Re: [PHP] Mail attachment

2003-03-18 Thread -{ Rene Brehmer }-
On Tue, 18 Mar 2003 23:19:08 +0100, Chris Hayes wrote about Re: [PHP] Mail attachment what the universal translator turned into this: It may be that the mail receiver expects some content after you put this in the header: Content-Type: text/ascii; charset=iso-8859-1\n If you're sending

Re: [PHP] mail(); works, but only for mails to my (mail)server

2003-03-17 Thread Chris Hewitt
Manuel Glauser wrote: This weekend, I've been fighting with some really weird problem though... I installed a few mail(); actions on my website plus in some projects I'm working on. I have one really big problem though... Everything works fine until I want to send a mail to another mailserver

[PHP] Mail

2003-03-17 Thread Stephen
Hi I am trying to get mail working with my php setup. I have an exchange server that I want to send mail to but I get the error Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for [EMAIL PROTECTED] in I have setup SMTP = my server address and sendmail_from to

[PHP] mail(); works, but only for mails to my (mail)server

2003-03-16 Thread Manuel Glauser
Hey you guys! First, I have to say, that php.net gave me a lot of support in the last few weeks and months. It's been great to suck information from your guys' website! Thanx a lot! This weekend, I've been fighting with some really weird problem though... I installed a few mail(); actions on

[PHP] mail() function

2003-03-04 Thread Denis L. Menezes
Hello friends, Can the mail() function send emails to multiple addresses which are formatted as follows : [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED] etc with a comma or a semicolon between them? Thanks Denis

[PHP] mail() in Linux

2003-03-04 Thread Terry Lau
Hello, I want to use the mail() in my Linux computer.But I don't know how to set the php.ini file to enable it.I am using the SMTP server provided by ISP. Do I need to setup my own mail server? Thanks! Terry _ ¤µ¤é¬P®y

[PHP] mail function works, but always from nobody@localhost!

2003-03-03 Thread ML
How exactly would I go about fixing my current php/sendmail setup so that it uses the value specified in my php input form in the from box instead of always setting the email from address as : [EMAIL PROTECTED] ??? Any help would be greatly appreciated. Thanks! -- PHP General Mailing List

[PHP] mail function and Bcc restriction?

2003-03-01 Thread Mirza Muharemagic
Hi all, are there any restrictions for mail function, when I use Bcc? how many email adresses can i put in Bcc, are there any PHP restriction, or just memory restriction, or something else? Thanx a lot Mirza [EMAIL PROTECTED] -- PHP General Mailing List

[PHP] Mail() Failing to connect

2003-02-28 Thread Gary
Does anyone have any idea of why I may be getting this error, when my scripts ran perfectly fine before (i don't know what). Is there some kind of setting in my mail program that may have changed? I'm using Outlook with Exchange Server. Warning: Failed to Connect in d:\apache\htdocs/emailtest.php

RE: [PHP] Mail (), BBC: recipients not receiving my Newsletter

2003-02-27 Thread Ricardo Fitzgerald
: Re: [PHP] Mail (), BBC: recipients not receiving my Newsletter What about using a ';' semicolon seperated list. Ricardo Fitzgerald wrote: Hi to all, I wrote a small form which dumps data to a php script that uses mail () to send an html newsletter, so far is working except that it's

RE: [PHP] Mail (), BCC: recipients not receiving my Newsletter

2003-02-27 Thread Ricardo Fitzgerald
: Re: [PHP] Mail (), BBC: recipients not receiving my Newsletter What about using a ';' semicolon seperated list. Ricardo Fitzgerald wrote: Hi to all, I wrote a small form which dumps data to a php script that uses mail () to send an html newsletter, so far is working except that it's

[PHP] Mail (), BBC: recipients not receiving my Newsletter

2003-02-26 Thread Ricardo Fitzgerald
Hi to all, I wrote a small form which dumps data to a php script that uses mail () to send an html newsletter, so far is working except that it's not sending to BCC: headers, in my form I have a field to enter a comma delimited email list, after submiting the form this list is stored under one

Re: [PHP] Mail (), BBC: recipients not receiving my Newsletter

2003-02-26 Thread Richard Baskett
opened for us. - Alexander Graham Bell From: Ricardo Fitzgerald [EMAIL PROTECTED] Date: Wed, 26 Feb 2003 17:40:25 -0500 To: [EMAIL PROTECTED] Subject: [PHP] Mail (), BBC: recipients not receiving my Newsletter Hi to all, I wrote a small form which dumps data to a php script that uses mail

Re: [PHP] Mail (), BBC: recipients not receiving my Newsletter

2003-02-26 Thread Jason k Larson
What about using a ';' semicolon seperated list. Ricardo Fitzgerald wrote: Hi to all, I wrote a small form which dumps data to a php script that uses mail () to send an html newsletter, so far is working except that it's not sending to BCC: headers, in my form I have a field to enter a comma

[PHP] Mail Sending Error

2003-02-21 Thread ML
Im having some more error checking issues :) This time its with sending email using php. Im absolutely sure that the email address is correct and that my IMAP module is enabled for php as I successfully read emails from my ISP. But when I sent an email with: mail($to, $subject, $body, $headers)

[PHP] mail function fails with no error code

2003-02-21 Thread ML
I am unable to send emails, and there are no errors being generated or populated in the $php_errormsg variable, since I enabled track errors in the php.ini. So I have no idea why the mail send is failing. Am I supposed to specify a mail server to use for sending mail? My sendmail was setup

[PHP] mail() using Return-Path: and Error-To:....

2003-02-19 Thread Scott Fletcher
Hiya fellas I'm doing the test on sending emails and what I found is that I haven't got these two to to work which is Return-Path: and Error-To: Does anyone know why does it not work??? Here's my sample codes --clip-- $Header = From: [EMAIL PROTECTED]\r\n; $Header

[PHP] mail function - using remote smtp in php.ini

2003-02-17 Thread Robin Mordasiewicz
IS there a way to tell php to use a remote smtp daemon for its mta under UNIX. I see in the example it looks like windows can be configured to use a remote smtp. If so what is the syntax. [mail function] ; For Win32 only. SMTP = localhost ; For Win32 only. sendmail_from = [EMAIL PROTECTED] ;

Re: [PHP] mail function - using remote smtp in php.ini

2003-02-17 Thread Jason Wong
On Tuesday 18 February 2003 01:44, Robin Mordasiewicz wrote: IS there a way to tell php to use a remote smtp daemon for its mta under UNIX. I see in the example it looks like windows can be configured to use a remote smtp. If so what is the syntax. [mail function] ; For Win32 only. SMTP =

[PHP] PHP mail function From header not working

2003-02-13 Thread Marco Alting
When I try to use a php script, to send an email, the From header is replaced by a senders email address of my provider. Is there any way to make it so my email address shows up in the From header? In the script I used fake addresses, because of client privacy reasons... ? $email = [EMAIL

[PHP] mail question

2003-02-13 Thread Jonas Geiregat
is it possible to do something like mail([EMAIL PROTECTED],subject,hello if($a){ return andreas; }); or what would be the best solution for this ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mail question

2003-02-13 Thread Jason Wong
On Friday 14 February 2003 18:53, Jonas Geiregat wrote: is it possible to do something like mail([EMAIL PROTECTED],subject,hello if($a){ return andreas; }); or what would be the best solution for this ? Try it. I would prefer: if ($a) { $name = 'andreas'; } else { $name = ''; }

[PHP] Re: PHP mail function From header not working

2003-02-13 Thread Lee W
Marco Alting [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... When I try to use a php script, to send an email, the From header is replaced by a senders email address of my provider. Is there any way to make it so my email address shows up in the From header? In

[PHP] Re: PHP mail function From header not working

2003-02-13 Thread Lee W
Marco Alting [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... When I try to use a php script, to send an email, the From header is replaced by a senders email address of my provider. Is there any way to make it so my email address shows up in the From header?

Re: [PHP] mail question

2003-02-13 Thread Leif K-Brooks
Try: mail('[EMAIL PROTECTED]','subject','hello '.($a ? 'andreas')); Jonas Geiregat wrote: is it possible to do something like mail([EMAIL PROTECTED],subject,hello if($a){ return andreas; }); or what would be the best solution for this ? -- The above message is encrypted with double rot13

[PHP] mail() and php.ini (Any Luck???)

2003-02-11 Thread Scott Fletcher
Hi Everyone The webserver is a Unix machine. I don't want to send the email from the Unix machine, I want to do that from Window. So, if I configure hte php.ini to find the MS-Exchange on Window and use it to send the email while the webpage is on the Unix webserver, such as form fill out

Re: [PHP] mail() and php.ini (Any Luck???)

2003-02-11 Thread Jason Wong
On Wednesday 12 February 2003 02:12, Scott Fletcher wrote: The webserver is a Unix machine. I don't want to send the email from the Unix machine, I want to do that from Window. So, if I configure hte php.ini to find the MS-Exchange on Window and use it to send the email while the webpage is

Re: [PHP] mail() and php.ini (Any Luck???)

2003-02-11 Thread Scott Fletcher
Someone send me an email to take a look at this URLhttp://www.php.net/manual/fi/ref.imap.php . The send mail on Unix is too basic, not like MS-Exchange... I need things like file attachment, Bcc, cc, etc Also, it is too slow because the machine have problem with DNS while many Windows

Re: [PHP] mail() and php.ini (Any Luck???)

2003-02-11 Thread Reuben D. Budiardja
be done with sendmail. Bcc and cc can be done with just adding extra header. In the php mail() function, it's the last argument IIRC. There are a lot of classes out there that will allow you to put attachment using the mail() function. Basically you only need the correct MIME-encoding and stuff

Re: [PHP] mail() and php.ini (Any Luck???)

2003-02-11 Thread Jason Wong
On Wednesday 12 February 2003 03:19, Scott Fletcher wrote: The send mail on Unix is too basic, not like MS-Exchange... I need things like file attachment, Bcc, cc, etc I think you're missing the point somewhere. sendmail (in fact any MTA) will do all that. Also, it is too slow

Re: [PHP] mail() and php.ini (Any Luck???)

2003-02-11 Thread Scott Fletcher
... All of those can be done with sendmail. Bcc and cc can be done with just adding extra header. In the php mail() function, it's the last argument IIRC. There are a lot of classes out there that will allow you to put attachment using the mail() function. Basically you only need the correct MIME-

<    5   6   7   8   9   10   11   12   13   14   >