You can subscribe to this list here.
2001 |
Jan
|
Feb
(1) |
Mar
(265) |
Apr
(166) |
May
(25) |
Jun
(17) |
Jul
(20) |
Aug
(47) |
Sep
(6) |
Oct
(14) |
Nov
(66) |
Dec
(64) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(109) |
Feb
(64) |
Mar
(34) |
Apr
(23) |
May
(64) |
Jun
(9) |
Jul
(13) |
Aug
(6) |
Sep
(33) |
Oct
(272) |
Nov
(67) |
Dec
(75) |
2003 |
Jan
(264) |
Feb
(244) |
Mar
(171) |
Apr
(119) |
May
(54) |
Jun
(93) |
Jul
(51) |
Aug
(48) |
Sep
(14) |
Oct
(49) |
Nov
(47) |
Dec
(15) |
2004 |
Jan
(13) |
Feb
(27) |
Mar
(18) |
Apr
(44) |
May
(35) |
Jun
(24) |
Jul
(39) |
Aug
(142) |
Sep
(35) |
Oct
(34) |
Nov
(49) |
Dec
(24) |
2005 |
Jan
(60) |
Feb
(71) |
Mar
(19) |
Apr
(27) |
May
(68) |
Jun
(4) |
Jul
(30) |
Aug
(10) |
Sep
(23) |
Oct
(24) |
Nov
(13) |
Dec
(6) |
2006 |
Jan
(4) |
Feb
(46) |
Mar
(64) |
Apr
(18) |
May
(16) |
Jun
(37) |
Jul
(7) |
Aug
(19) |
Sep
(9) |
Oct
(8) |
Nov
(3) |
Dec
(23) |
2007 |
Jan
(25) |
Feb
(21) |
Mar
(32) |
Apr
(36) |
May
(12) |
Jun
(1) |
Jul
(7) |
Aug
(15) |
Sep
(13) |
Oct
(1) |
Nov
|
Dec
|
2008 |
Jan
(3) |
Feb
(5) |
Mar
(1) |
Apr
(2) |
May
|
Jun
(1) |
Jul
(2) |
Aug
(7) |
Sep
|
Oct
(5) |
Nov
(1) |
Dec
|
2009 |
Jan
(7) |
Feb
(1) |
Mar
|
Apr
|
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(3) |
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
From: Don S. <do...@se...> - 2003-02-19 17:44:24
|
Or core could instantiate the Mail::factory object upon core initialization. Although considering our memory conservation efforts perhaps we could just instantiate as needed and destroy after. Don. On Wed, 19 Feb 2003, Don Seiler wrote: > Thanks Dean for the cluestick. I did indeed need to change a setting that > way. (See Dean's message below for details) > > Now here are my results: > > 1. Use php's mail() function: works after changing setting > 2. Use pear's Mail with 'mail' factory: works after changing setting (duh) > 3. Use pear's Mail with 'sendmail' factory: works after changing setting > 4. Use pear's Mail with 'smtp' factory: always works > > Number 2 actually just is a wrapper for number 1 anyway. So I like the > pear construct. However from a developer point of view I would think that > the PHPWS core should have a "mail" type of thing to provide a core > factory and a settings interface for the site admin to set which of the > three types of factories that site should use and what params, if any, to > set. > > So then the module would call something like: > > $GLOBALS["core"]->sendmail($to, $headers, $message) > > sendmail() would instantiate the Mail::factory object using the settings > from the settings table and then call the send() function on that object. > > Let me know what you think. > > Don. > > > On Wed, 19 Feb 2003, Dean Urmson wrote: > > > May be a config setting with your MTA (sendmail, qmail etc) that is > > preventing the 'envelope from' header being set to anything but the user > > owning the process that's sending the email. Kinda a relaying, anti-spam > > measure I think. > > > > Vaguely remeber something about this a couple of years ago... > > > > HTH > > > > Dean > > > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. > The most comprehensive and flexible code editor you can use. > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > www.slickedit.com/sourceforge > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > |
From: Don S. <do...@se...> - 2003-02-19 17:41:48
|
Thanks Dean for the cluestick. I did indeed need to change a setting that way. (See Dean's message below for details) Now here are my results: 1. Use php's mail() function: works after changing setting 2. Use pear's Mail with 'mail' factory: works after changing setting (duh) 3. Use pear's Mail with 'sendmail' factory: works after changing setting 4. Use pear's Mail with 'smtp' factory: always works Number 2 actually just is a wrapper for number 1 anyway. So I like the pear construct. However from a developer point of view I would think that the PHPWS core should have a "mail" type of thing to provide a core factory and a settings interface for the site admin to set which of the three types of factories that site should use and what params, if any, to set. So then the module would call something like: $GLOBALS["core"]->sendmail($to, $headers, $message) sendmail() would instantiate the Mail::factory object using the settings from the settings table and then call the send() function on that object. Let me know what you think. Don. On Wed, 19 Feb 2003, Dean Urmson wrote: > May be a config setting with your MTA (sendmail, qmail etc) that is > preventing the 'envelope from' header being set to anything but the user > owning the process that's sending the email. Kinda a relaying, anti-spam > measure I think. > > Vaguely remeber something about this a couple of years ago... > > HTH > > Dean > > > > |
From: Steven L. <st...@tu...> - 2003-02-19 17:20:56
|
No sorry Don no module implementation, we used it on a php shell script we use on campus. ie. our own pr0n spammer :) Here is what we went by: http://pear.php.net/manual/en/core.mail.mail.php Our code is not too different from the example at the bottom. Hope this helps, Steven > Pear, eh. I'll look into that then. Is there a module using it now > that I could scam some code from? > > Changing the order of the headers (From is first) had no change. > > Thanks. > > Don. > > On Wed, 19 Feb 2003, Steven Levin wrote: > >> Hey Don, >> >> We think the Pear mailing package is great and have been using that. >> It >> is quite easty to use. You should check it out. >> >> Steven >> >> > OK I'll try that. >> > >> > Perhaps we could do with a core "mail" function that takes in the >> to, from, and message params? I'm sure there are a couple of mods >> that might send emails. Like my next work, phpwsSendPr0nSpam. >> > >> > Don. >> > >> > On Wed, 19 Feb 2003, Steven Levin wrote: >> > >> >> Don, >> >> >> >> I have used that function before and got it to work just fine. >> The >> >> only >> >> difference I see in my code is that I put the 'From' as the very >> first thing in the header. Maybe try that, but it would be silly >> if that was the issue. >> >> >> >> Steven >> >> >> >> >> >> > I'm at my wits' end. No matter how many headers I set and pass >> to >> >> the mail() function, the email always arrives with "apache" as the >> sending user. Granted the "Reply-To" is set properly and all other >> stuff is right. But I'd like to mail to appear as From the desired >> sender. >> >> > >> >> > I've read the user comments on the php mail() doc page and have >> >> tried nearly everything suggested, to no avail. >> >> > >> >> > Here is what I'm doing regards to trying to set the From address: >> >> > >> >> > $from = "\"" . $_REQUEST["EMAIL_sender_name"] . "\" <" . >> >> > $_REQUEST["EMAIL_sender_email"] . ">"; >> >> > $headers = "MIME-Version: 1.0\n"; >> >> > $headers .= "Content-type: text/plain; >> >> charset=iso-8859-1\n"; >> >> > $headers .= "X-Sender: <". $_REQUEST["EMAIL_sender_email"] . >> ">\n"; >> >> > $headers .= "X-Mailer: PHP\n"; //mailer >> >> > $headers .= "X-Priority: 1\n"; //1 UrgentMessage, 3 >> Normal >> >> > $headers .= "X-MSMail-Priority: High\n"; //1 UrgentMessage, 3 >> Normal >> >> > $headers .= "From: $from\n"; >> >> > $headers .= "Reply-To: <". >> $_REQUEST["EMAIL_sender_email"] . >> >> > ">\n"; >> >> > $headers .= "Return-Path: <". >> >> $_REQUEST["EMAIL_sender_email"] . >> >> > ">\n"; >> >> > $extra = "-f " . $_REQUEST["EMAIL_sender_email"]; >> >> > >> >> > so I call mail($to, $subject, $message, $headers, $extra). mail >> is >> >> sent >> >> > fine, but that From: field gets changed to apache. >> >> > >> >> > Has anyone dealt with this jazz? >> >> > >> >> > Don. >> >> > >> >> > >> >> > ------------------------------------------------------- >> >> > This SF.net email is sponsored by: SlickEdit Inc. Develop an >> edge. >> >> The most comprehensive and flexible code editor you can use. >> >> > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day >> >> Trial. www.slickedit.com/sourceforge >> >> > _______________________________________________ >> >> > Phpwebsite-developers mailing list >> >> > Php...@li... >> >> > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers >> >> >> >> >> >> >> > >> > >> > ------------------------------------------------------- >> > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. >> The most comprehensive and flexible code editor you can use. >> > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day >> Trial. www.slickedit.com/sourceforge >> > _______________________________________________ >> > Phpwebsite-developers mailing list >> > Php...@li... >> > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers >> >> >> > > > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The > most comprehensive and flexible code editor you can use. > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > www.slickedit.com/sourceforge > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers -- Steven Levin Electronic Student Services Appalachian State University Phone: 828.262.2431 PhpWebsite Development Team URL: http://phpwebsite.appstate.edu Email: st...@NO... |
From: Don S. <do...@se...> - 2003-02-19 17:16:03
|
Eh perhaps I should actually go to the website and see the parts marked "Example" before I appear like such a lazy bastard. Don. On Wed, 19 Feb 2003, Don Seiler wrote: > Pear, eh. I'll look into that then. Is there a module using it now that > I could scam some code from? > > Changing the order of the headers (From is first) had no change. > > Thanks. > > Don. > > On Wed, 19 Feb 2003, Steven Levin wrote: > > > Hey Don, > > > > We think the Pear mailing package is great and have been using that. It > > is quite easty to use. You should check it out. > > > > Steven > > > > > OK I'll try that. > > > > > > Perhaps we could do with a core "mail" function that takes in the to, > > > from, and message params? I'm sure there are a couple of mods that > > > might send emails. Like my next work, phpwsSendPr0nSpam. > > > > > > Don. > > > > > > On Wed, 19 Feb 2003, Steven Levin wrote: > > > > > >> Don, > > >> > > >> I have used that function before and got it to work just fine. The > > >> only > > >> difference I see in my code is that I put the 'From' as the very first > > >> thing in the header. Maybe try that, but it would be silly if that > > >> was the issue. > > >> > > >> Steven > > >> > > >> > > >> > I'm at my wits' end. No matter how many headers I set and pass to > > >> the mail() function, the email always arrives with "apache" as the > > >> sending user. Granted the "Reply-To" is set properly and all other > > >> stuff is right. But I'd like to mail to appear as From the desired > > >> sender. > > >> > > > >> > I've read the user comments on the php mail() doc page and have > > >> tried nearly everything suggested, to no avail. > > >> > > > >> > Here is what I'm doing regards to trying to set the From address: > > >> > > > >> > $from = "\"" . $_REQUEST["EMAIL_sender_name"] . "\" <" . > > >> > $_REQUEST["EMAIL_sender_email"] . ">"; > > >> > $headers = "MIME-Version: 1.0\n"; > > >> > $headers .= "Content-type: text/plain; > > >> charset=iso-8859-1\n"; > > >> > $headers .= "X-Sender: <". $_REQUEST["EMAIL_sender_email"] . > > >> > ">\n"; > > >> > $headers .= "X-Mailer: PHP\n"; //mailer > > >> > $headers .= "X-Priority: 1\n"; //1 UrgentMessage, 3 Normal > > >> > $headers .= "X-MSMail-Priority: High\n"; //1 UrgentMessage, 3 > > >> > Normal > > >> > $headers .= "From: $from\n"; > > >> > $headers .= "Reply-To: <". $_REQUEST["EMAIL_sender_email"] . > > >> > ">\n"; > > >> > $headers .= "Return-Path: <". > > >> $_REQUEST["EMAIL_sender_email"] . > > >> > ">\n"; > > >> > $extra = "-f " . $_REQUEST["EMAIL_sender_email"]; > > >> > > > >> > so I call mail($to, $subject, $message, $headers, $extra). mail is > > >> sent > > >> > fine, but that From: field gets changed to apache. > > >> > > > >> > Has anyone dealt with this jazz? > > >> > > > >> > Don. > > >> > > > >> > > > >> > ------------------------------------------------------- > > >> > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. > > >> The most comprehensive and flexible code editor you can use. > > >> > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day > > >> Trial. www.slickedit.com/sourceforge > > >> > _______________________________________________ > > >> > Phpwebsite-developers mailing list > > >> > Php...@li... > > >> > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > >> > > >> > > >> > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The > > > most comprehensive and flexible code editor you can use. > > > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > > > www.slickedit.com/sourceforge > > > _______________________________________________ > > > Phpwebsite-developers mailing list > > > Php...@li... > > > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. > The most comprehensive and flexible code editor you can use. > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > www.slickedit.com/sourceforge > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > |
From: Don S. <do...@se...> - 2003-02-19 17:11:04
|
Pear, eh. I'll look into that then. Is there a module using it now that I could scam some code from? Changing the order of the headers (From is first) had no change. Thanks. Don. On Wed, 19 Feb 2003, Steven Levin wrote: > Hey Don, > > We think the Pear mailing package is great and have been using that. It > is quite easty to use. You should check it out. > > Steven > > > OK I'll try that. > > > > Perhaps we could do with a core "mail" function that takes in the to, > > from, and message params? I'm sure there are a couple of mods that > > might send emails. Like my next work, phpwsSendPr0nSpam. > > > > Don. > > > > On Wed, 19 Feb 2003, Steven Levin wrote: > > > >> Don, > >> > >> I have used that function before and got it to work just fine. The > >> only > >> difference I see in my code is that I put the 'From' as the very first > >> thing in the header. Maybe try that, but it would be silly if that > >> was the issue. > >> > >> Steven > >> > >> > >> > I'm at my wits' end. No matter how many headers I set and pass to > >> the mail() function, the email always arrives with "apache" as the > >> sending user. Granted the "Reply-To" is set properly and all other > >> stuff is right. But I'd like to mail to appear as From the desired > >> sender. > >> > > >> > I've read the user comments on the php mail() doc page and have > >> tried nearly everything suggested, to no avail. > >> > > >> > Here is what I'm doing regards to trying to set the From address: > >> > > >> > $from = "\"" . $_REQUEST["EMAIL_sender_name"] . "\" <" . > >> > $_REQUEST["EMAIL_sender_email"] . ">"; > >> > $headers = "MIME-Version: 1.0\n"; > >> > $headers .= "Content-type: text/plain; > >> charset=iso-8859-1\n"; > >> > $headers .= "X-Sender: <". $_REQUEST["EMAIL_sender_email"] . > >> > ">\n"; > >> > $headers .= "X-Mailer: PHP\n"; //mailer > >> > $headers .= "X-Priority: 1\n"; //1 UrgentMessage, 3 Normal > >> > $headers .= "X-MSMail-Priority: High\n"; //1 UrgentMessage, 3 > >> > Normal > >> > $headers .= "From: $from\n"; > >> > $headers .= "Reply-To: <". $_REQUEST["EMAIL_sender_email"] . > >> > ">\n"; > >> > $headers .= "Return-Path: <". > >> $_REQUEST["EMAIL_sender_email"] . > >> > ">\n"; > >> > $extra = "-f " . $_REQUEST["EMAIL_sender_email"]; > >> > > >> > so I call mail($to, $subject, $message, $headers, $extra). mail is > >> sent > >> > fine, but that From: field gets changed to apache. > >> > > >> > Has anyone dealt with this jazz? > >> > > >> > Don. > >> > > >> > > >> > ------------------------------------------------------- > >> > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. > >> The most comprehensive and flexible code editor you can use. > >> > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day > >> Trial. www.slickedit.com/sourceforge > >> > _______________________________________________ > >> > Phpwebsite-developers mailing list > >> > Php...@li... > >> > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > >> > >> > >> > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The > > most comprehensive and flexible code editor you can use. > > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > > www.slickedit.com/sourceforge > > _______________________________________________ > > Phpwebsite-developers mailing list > > Php...@li... > > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > |
From: Steven L. <st...@tu...> - 2003-02-19 17:07:34
|
Hey Don, We think the Pear mailing package is great and have been using that. It is quite easty to use. You should check it out. Steven > OK I'll try that. > > Perhaps we could do with a core "mail" function that takes in the to, > from, and message params? I'm sure there are a couple of mods that > might send emails. Like my next work, phpwsSendPr0nSpam. > > Don. > > On Wed, 19 Feb 2003, Steven Levin wrote: > >> Don, >> >> I have used that function before and got it to work just fine. The >> only >> difference I see in my code is that I put the 'From' as the very first >> thing in the header. Maybe try that, but it would be silly if that >> was the issue. >> >> Steven >> >> >> > I'm at my wits' end. No matter how many headers I set and pass to >> the mail() function, the email always arrives with "apache" as the >> sending user. Granted the "Reply-To" is set properly and all other >> stuff is right. But I'd like to mail to appear as From the desired >> sender. >> > >> > I've read the user comments on the php mail() doc page and have >> tried nearly everything suggested, to no avail. >> > >> > Here is what I'm doing regards to trying to set the From address: >> > >> > $from = "\"" . $_REQUEST["EMAIL_sender_name"] . "\" <" . >> > $_REQUEST["EMAIL_sender_email"] . ">"; >> > $headers = "MIME-Version: 1.0\n"; >> > $headers .= "Content-type: text/plain; >> charset=iso-8859-1\n"; >> > $headers .= "X-Sender: <". $_REQUEST["EMAIL_sender_email"] . >> > ">\n"; >> > $headers .= "X-Mailer: PHP\n"; //mailer >> > $headers .= "X-Priority: 1\n"; //1 UrgentMessage, 3 Normal >> > $headers .= "X-MSMail-Priority: High\n"; //1 UrgentMessage, 3 >> > Normal >> > $headers .= "From: $from\n"; >> > $headers .= "Reply-To: <". $_REQUEST["EMAIL_sender_email"] . >> > ">\n"; >> > $headers .= "Return-Path: <". >> $_REQUEST["EMAIL_sender_email"] . >> > ">\n"; >> > $extra = "-f " . $_REQUEST["EMAIL_sender_email"]; >> > >> > so I call mail($to, $subject, $message, $headers, $extra). mail is >> sent >> > fine, but that From: field gets changed to apache. >> > >> > Has anyone dealt with this jazz? >> > >> > Don. >> > >> > >> > ------------------------------------------------------- >> > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. >> The most comprehensive and flexible code editor you can use. >> > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day >> Trial. www.slickedit.com/sourceforge >> > _______________________________________________ >> > Phpwebsite-developers mailing list >> > Php...@li... >> > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers >> >> >> > > > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The > most comprehensive and flexible code editor you can use. > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > www.slickedit.com/sourceforge > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers -- Steven Levin Electronic Student Services Appalachian State University Phone: 828.262.2431 PhpWebsite Development Team URL: http://phpwebsite.appstate.edu Email: st...@NO... |
From: Don S. <do...@se...> - 2003-02-19 17:03:01
|
OK I'll try that. Perhaps we could do with a core "mail" function that takes in the to, from, and message params? I'm sure there are a couple of mods that might send emails. Like my next work, phpwsSendPr0nSpam. Don. On Wed, 19 Feb 2003, Steven Levin wrote: > Don, > > I have used that function before and got it to work just fine. The only > difference I see in my code is that I put the 'From' as the very first > thing in the header. Maybe try that, but it would be silly if that was > the issue. > > Steven > > > > I'm at my wits' end. No matter how many headers I set and pass to the > > mail() function, the email always arrives with "apache" as the sending > > user. Granted the "Reply-To" is set properly and all other stuff is > > right. But I'd like to mail to appear as From the desired sender. > > > > I've read the user comments on the php mail() doc page and have tried > > nearly everything suggested, to no avail. > > > > Here is what I'm doing regards to trying to set the From address: > > > > $from = "\"" . $_REQUEST["EMAIL_sender_name"] . "\" <" . > > $_REQUEST["EMAIL_sender_email"] . ">"; > > $headers = "MIME-Version: 1.0\n"; > > $headers .= "Content-type: text/plain; charset=iso-8859-1\n"; > > $headers .= "X-Sender: <". $_REQUEST["EMAIL_sender_email"] . > > ">\n"; > > $headers .= "X-Mailer: PHP\n"; //mailer > > $headers .= "X-Priority: 1\n"; //1 UrgentMessage, 3 Normal > > $headers .= "X-MSMail-Priority: High\n"; //1 UrgentMessage, 3 > > Normal > > $headers .= "From: $from\n"; > > $headers .= "Reply-To: <". $_REQUEST["EMAIL_sender_email"] . > > ">\n"; > > $headers .= "Return-Path: <". $_REQUEST["EMAIL_sender_email"] . > > ">\n"; > > $extra = "-f " . $_REQUEST["EMAIL_sender_email"]; > > > > so I call mail($to, $subject, $message, $headers, $extra). mail is sent > > fine, but that From: field gets changed to apache. > > > > Has anyone dealt with this jazz? > > > > Don. > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The > > most comprehensive and flexible code editor you can use. > > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > > www.slickedit.com/sourceforge > > _______________________________________________ > > Phpwebsite-developers mailing list > > Php...@li... > > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > |
From: Steven L. <st...@tu...> - 2003-02-19 16:43:15
|
Don, I have used that function before and got it to work just fine. The only difference I see in my code is that I put the 'From' as the very first thing in the header. Maybe try that, but it would be silly if that was the issue. Steven > I'm at my wits' end. No matter how many headers I set and pass to the > mail() function, the email always arrives with "apache" as the sending > user. Granted the "Reply-To" is set properly and all other stuff is > right. But I'd like to mail to appear as From the desired sender. > > I've read the user comments on the php mail() doc page and have tried > nearly everything suggested, to no avail. > > Here is what I'm doing regards to trying to set the From address: > > $from = "\"" . $_REQUEST["EMAIL_sender_name"] . "\" <" . > $_REQUEST["EMAIL_sender_email"] . ">"; > $headers = "MIME-Version: 1.0\n"; > $headers .= "Content-type: text/plain; charset=iso-8859-1\n"; > $headers .= "X-Sender: <". $_REQUEST["EMAIL_sender_email"] . > ">\n"; > $headers .= "X-Mailer: PHP\n"; //mailer > $headers .= "X-Priority: 1\n"; //1 UrgentMessage, 3 Normal > $headers .= "X-MSMail-Priority: High\n"; //1 UrgentMessage, 3 > Normal > $headers .= "From: $from\n"; > $headers .= "Reply-To: <". $_REQUEST["EMAIL_sender_email"] . > ">\n"; > $headers .= "Return-Path: <". $_REQUEST["EMAIL_sender_email"] . > ">\n"; > $extra = "-f " . $_REQUEST["EMAIL_sender_email"]; > > so I call mail($to, $subject, $message, $headers, $extra). mail is sent > fine, but that From: field gets changed to apache. > > Has anyone dealt with this jazz? > > Don. > > > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The > most comprehensive and flexible code editor you can use. > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > www.slickedit.com/sourceforge > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers -- Steven Levin Electronic Student Services Appalachian State University Phone: 828.262.2431 PhpWebsite Development Team URL: http://phpwebsite.appstate.edu Email: st...@NO... |
From: Don S. <do...@se...> - 2003-02-19 16:33:22
|
I'm at my wits' end. No matter how many headers I set and pass to the mail() function, the email always arrives with "apache" as the sending user. Granted the "Reply-To" is set properly and all other stuff is right. But I'd like to mail to appear as From the desired sender. I've read the user comments on the php mail() doc page and have tried nearly everything suggested, to no avail. Here is what I'm doing regards to trying to set the From address: $from = "\"" . $_REQUEST["EMAIL_sender_name"] . "\" <" . $_REQUEST["EMAIL_sender_email"] . ">"; $headers = "MIME-Version: 1.0\n"; $headers .= "Content-type: text/plain; charset=iso-8859-1\n"; $headers .= "X-Sender: <". $_REQUEST["EMAIL_sender_email"] . ">\n"; $headers .= "X-Mailer: PHP\n"; //mailer $headers .= "X-Priority: 1\n"; //1 UrgentMessage, 3 Normal $headers .= "X-MSMail-Priority: High\n"; //1 UrgentMessage, 3 Normal $headers .= "From: $from\n"; $headers .= "Reply-To: <". $_REQUEST["EMAIL_sender_email"] . ">\n"; $headers .= "Return-Path: <". $_REQUEST["EMAIL_sender_email"] . ">\n"; $extra = "-f " . $_REQUEST["EMAIL_sender_email"]; so I call mail($to, $subject, $message, $headers, $extra). mail is sent fine, but that From: field gets changed to apache. Has anyone dealt with this jazz? Don. |
From: Steven L. <st...@tu...> - 2003-02-19 15:56:20
|
Ok, yes I agree. If you can make it work that would be great. So the solution is: If you are on the home page Then take you to the modules page Else return to where you where Am I right? > Matt makes a good point. Perhaps only when you're on the 'main' page it > should take you to modules, otherwise just reload the page you're > looking at. > > Adam > >>> Every time I log into phpWebSite I >>> 'always' click on the modules link. Does everyone else do this? Can >>> we just have the user module take you directly to the module list >>> after logging in? This would eliminate many extra clicks in my day. >>> And that would make me a happy camper :) >> >> I thought about this at one point but consider this example. >> In comments, if I have noticed that I am tagged as anonymous, I can >> login with the side panel and get returned to the entry to which I >> wanted to reply. >> If I was automatically sent to the module menu, then I would have to >> make my way back to the comments module. >> >> However, we could set it that when logging in from the home page, you >> are taken to the modules menu. Otherwise you return to the page you >> signed in from. >> >> What does everyone think? >> >> >> Matthew McNaney >> Internet Systems Architect >> Electronic Student Services >> Appalachian State University >> Phone: 828-262-6493 >> phpwebsite.appstate.edu >> ess.appstate.edu >> >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The >> most comprehensive and flexible code editor you can use. >> Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. >> www.slickedit.com/sourceforge >> _______________________________________________ >> Phpwebsite-developers mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > --------------------------------------------------------------------- > Adam Morton > Developer - Electronic Student Services > http://phpwebsite.appstate.edu > Founder - Appalachian Linux Users Group > http://alug.appstate.edu > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The > most comprehensive and flexible code editor you can use. > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > www.slickedit.com/sourceforge > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers -- Steven Levin Electronic Student Services Appalachian State University Phone: 828.262.2431 PhpWebsite Development Team URL: http://phpwebsite.appstate.edu Email: st...@NO... |
From: R. S. B. <Ba...@Ba...> - 2003-02-19 15:52:14
|
Sorry to waste your time on this one... I figured it out... When I was playing around with different templates.. I left it in my theme.. I will send in an update as soon as I clean this up... Sorry once again for wasting your time.. Scott ----- Original Message ----- From: "R. Scott Baer" <Ba...@Ba...> To: <php...@li...> Sent: Wednesday, February 19, 2003 10:24 AM Subject: [Phpwebsite-developers] Problems -- with my theme or phpws ??? > Ok.. > I've identified a few problems with both he Cool and Quick Themes... > for now I'm going to be asking about the Quick Theme.. > I will address the other theme related issue soon. > > I'm not sure if the problem is phpWS related or if its just the theme... > > After changing the them to Quick, and closing the Layout box. I returned to > the home page. > I'm still getting some info from the old them... in the Announcements > section.. > > Here's the html for that section when you first go to the phpws-- using the > clean theme > > <tr style="background-color : #CCCCFF"><td> > <b>phpWebSite v0.9.0 RC4 Released!</b><br /> > > you change the theme, close the layout box and return to the home page and > you get this > > <tr style="background-color : #CCCCFF"><td> > <b>phpWebSite v0.9.0 RC4 Released!</b><br /> > > every thing else look somewhat OK...(I have found a few problems.. but I > dont believe that they are related to this) > and seems to be using the Quick theme info... > > then if you click on "Features" | "In the News" and then back home... > "Home Page" > > you would get the fallowing for the same section. > > <tr><td><h3>phpWebSite v0.9.0 RC4 Released!</h3></td></tr> > > > Can any one duplicate this for me please... > To verify that I'm not going nuts!! > > If it is verified by someone else.. > Is it because of the theme, Browser, Server.. Proxy... > > Hope someone can help me out here... > > Thanks for your time, > > Scott > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. > The most comprehensive and flexible code editor you can use. > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > www.slickedit.com/sourceforge > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > |
From: Don S. <do...@se...> - 2003-02-19 15:46:37
|
I actually think this makes sense. +1 On Wed, 19 Feb 2003, Steven Levin wrote: > Hello All, > I can't remember if we have already discussed this on the list but I am > going to bring it up anyway :) Every time I log into phpWebSite I > 'always' click on the modules link. Does everyone else do this? Can we > just have the user module take you directly to the module list after > logging in? This would eliminate many extra clicks in my day. And that > would make me a happy camper :) > > |
From: Adam M. <ad...@tu...> - 2003-02-19 15:41:55
|
Matt makes a good point. Perhaps only when you're on the 'main' page it should take you to modules, otherwise just reload the page you're looking at. Adam >> Every time I log into phpWebSite I >> 'always' click on the modules link. Does everyone else do this? Can >> we just have the user module take you directly to the module list >> after logging in? This would eliminate many extra clicks in my day. >> And that would make me a happy camper :) > > I thought about this at one point but consider this example. > In comments, if I have noticed that I am tagged as anonymous, I can > login with the side panel and get returned to the entry to which I > wanted to reply. > If I was automatically sent to the module menu, then I would have to > make my way back to the comments module. > > However, we could set it that when logging in from the home page, you > are taken to the modules menu. Otherwise you return to the page you > signed in from. > > What does everyone think? > > > Matthew McNaney > Internet Systems Architect > Electronic Student Services > Appalachian State University > Phone: 828-262-6493 > phpwebsite.appstate.edu > ess.appstate.edu > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The > most comprehensive and flexible code editor you can use. > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > www.slickedit.com/sourceforge > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers --------------------------------------------------------------------- Adam Morton Developer - Electronic Student Services http://phpwebsite.appstate.edu Founder - Appalachian Linux Users Group http://alug.appstate.edu |
From: Adam M. <ad...@tu...> - 2003-02-19 15:38:51
|
+1 for 'files' Adam > +1 from me for files :) > > Steven > >> +1 files. It's generic enough. >> >> Don. >> >> On Wed, 19 Feb 2003, Matthew McNaney wrote: >> >>> Ok, let's settle on a name: >>> >>> files/ >>> data/ >>> media/ >>> pub/ >>> >>> I'll +1 files/ >>> >>> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The >> most comprehensive and flexible code editor you can use. >> Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. >> www.slickedit.com/sourceforge >> _______________________________________________ >> Phpwebsite-developers mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > -- > Steven Levin > Electronic Student Services > Appalachian State University > Phone: 828.262.2431 > PhpWebsite Development Team > URL: http://phpwebsite.appstate.edu > Email: st...@NO... > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The > most comprehensive and flexible code editor you can use. > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > www.slickedit.com/sourceforge > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers --------------------------------------------------------------------- Adam Morton Developer - Electronic Student Services http://phpwebsite.appstate.edu Founder - Appalachian Linux Users Group http://alug.appstate.edu |
From: Adam M. <ad...@tu...> - 2003-02-19 15:38:25
|
+1 from me on this one Adam > Hello All, > I can't remember if we have already discussed this on the list but I > am > going to bring it up anyway :) Every time I log into phpWebSite I > 'always' click on the modules link. Does everyone else do this? Can we > just have the user module take you directly to the module list after > logging in? This would eliminate many extra clicks in my day. And that > would make me a happy camper :) > > -- > Steven Levin > Electronic Student Services > Appalachian State University > Phone: 828.262.2431 > PhpWebsite Development Team > URL: http://phpwebsite.appstate.edu > Email: st...@NO... > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The > most comprehensive and flexible code editor you can use. > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > www.slickedit.com/sourceforge > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers --------------------------------------------------------------------- Adam Morton Developer - Electronic Student Services http://phpwebsite.appstate.edu Founder - Appalachian Linux Users Group http://alug.appstate.edu |
From: Matthew M. <ma...@tu...> - 2003-02-19 15:37:42
|
> Every time I log into phpWebSite I > 'always' click on the modules link. Does everyone else do this? Can we > just have the user module take you directly to the module list after > logging in? This would eliminate many extra clicks in my day. And that > would make me a happy camper :) I thought about this at one point but consider this example. In comments, if I have noticed that I am tagged as anonymous, I can login with the side panel and get returned to the entry to which I wanted to reply. If I was automatically sent to the module menu, then I would have to make my way back to the comments module. However, we could set it that when logging in from the home page, you are taken to the modules menu. Otherwise you return to the page you signed in from. What does everyone think? Matthew McNaney Internet Systems Architect Electronic Student Services Appalachian State University Phone: 828-262-6493 phpwebsite.appstate.edu ess.appstate.edu |
From: R. S. B. <Ba...@Ba...> - 2003-02-19 15:25:03
|
Ok.. I've identified a few problems with both he Cool and Quick Themes... for now I'm going to be asking about the Quick Theme.. I will address the other theme related issue soon. I'm not sure if the problem is phpWS related or if its just the theme... After changing the them to Quick, and closing the Layout box. I returned to the home page. I'm still getting some info from the old them... in the Announcements section.. Here's the html for that section when you first go to the phpws-- using the clean theme <tr style="background-color : #CCCCFF"><td> <b>phpWebSite v0.9.0 RC4 Released!</b><br /> you change the theme, close the layout box and return to the home page and you get this <tr style="background-color : #CCCCFF"><td> <b>phpWebSite v0.9.0 RC4 Released!</b><br /> every thing else look somewhat OK...(I have found a few problems.. but I dont believe that they are related to this) and seems to be using the Quick theme info... then if you click on "Features" | "In the News" and then back home... "Home Page" you would get the fallowing for the same section. <tr><td><h3>phpWebSite v0.9.0 RC4 Released!</h3></td></tr> Can any one duplicate this for me please... To verify that I'm not going nuts!! If it is verified by someone else.. Is it because of the theme, Browser, Server.. Proxy... Hope someone can help me out here... Thanks for your time, Scott |
From: Steven L. <st...@tu...> - 2003-02-19 15:14:55
|
Hello All, I can't remember if we have already discussed this on the list but I am going to bring it up anyway :) Every time I log into phpWebSite I 'always' click on the modules link. Does everyone else do this? Can we just have the user module take you directly to the module list after logging in? This would eliminate many extra clicks in my day. And that would make me a happy camper :) -- Steven Levin Electronic Student Services Appalachian State University Phone: 828.262.2431 PhpWebsite Development Team URL: http://phpwebsite.appstate.edu Email: st...@NO... |
From: Don S. <do...@se...> - 2003-02-19 15:01:06
|
For those of you on the bleeding edge, there was a security bug discovered in php 4.3.0. php has released 4.3.1 to remedy this and recommends upgrading immediately. Details: http://www.php.net/release_4_3_1.php Don. |
From: Steven L. <st...@tu...> - 2003-02-19 14:19:43
|
+1 from me for files :) Steven > +1 files. It's generic enough. > > Don. > > On Wed, 19 Feb 2003, Matthew McNaney wrote: > >> Ok, let's settle on a name: >> >> files/ >> data/ >> media/ >> pub/ >> >> I'll +1 files/ >> >> > > > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The > most comprehensive and flexible code editor you can use. > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > www.slickedit.com/sourceforge > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers -- Steven Levin Electronic Student Services Appalachian State University Phone: 828.262.2431 PhpWebsite Development Team URL: http://phpwebsite.appstate.edu Email: st...@NO... |
From: Don S. <do...@se...> - 2003-02-19 14:11:56
|
+1 files. It's generic enough. Don. On Wed, 19 Feb 2003, Matthew McNaney wrote: > Ok, let's settle on a name: > > files/ > data/ > media/ > pub/ > > I'll +1 files/ > > |
From: Matthew M. <ma...@tu...> - 2003-02-19 14:05:39
|
Ok, let's settle on a name: files/ data/ media/ pub/ I'll +1 files/ -- Matthew McNaney Internet Systems Architect Electronic Student Services Appalachian State University Phone: 828-262-6493 phpwebsite.appstate.edu ess.appstate.edu > +1 to the idea of a 'files' or 'data' directory in the phpws root where > each mod creates its own directory for storing files. The only reason I > don't like putting it in the docs directory is because most mods will be > storing files that are not necessarily documentation (i.e.: archives, > personal documents, spreadsheets). > > Just my 2 cents, > Adam > >>> Me again bringing up this issue again. >>> >>> I have a mod that a user will upload files (text/html). Those files >>> will then be read in by php and displayed. That's not important. >>> What IS important is where would phpws like me to store files? >>> Should we have a "files" directory in the http_home_dir on the same >>> level as images? Then each mod that needs to would create a >>> directory of its own name in that directory and then store it's own >>> files down below, the same as images works now? >> >> Good question. Or should they be under a directory in docs (which gets >> set to server writable) named after the module? >> >> >> I'll +1 to the directory under docs idea but either way is good with >> me. >> >> Matt >> >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Phpwebsite-developers mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers > > > --------------------------------------------------------------------- > Adam Morton > Developer - Electronic Student Services > http://phpwebsite.appstate.edu > Founder - Appalachian Linux Users Group > http://alug.appstate.edu > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers |
From: Mike N. <mh...@us...> - 2003-02-19 00:38:02
|
On Tue, 2003-02-18 at 16:37, Adam Morton wrote: > +1 to the idea of a 'files' or 'data' directory in the phpws root where > each mod creates its own directory for storing files. The only reason I > don't like putting it in the docs directory is because most mods will be > storing files that are not necessarily documentation (i.e.: archives, > personal documents, spreadsheets). +1 to 'files' Additional alternate names 'media' and 'pub'. -- Mike Noyes <mhnoyes @ users.sourceforge.net> http://sourceforge.net/users/mhnoyes/ http://leaf-project.org/ http://sitedocs.sf.net/ http://ffl.sf.net/ |
From: Adam M. <ad...@tu...> - 2003-02-19 00:26:48
|
+1 to the idea of a 'files' or 'data' directory in the phpws root where each mod creates its own directory for storing files. The only reason I don't like putting it in the docs directory is because most mods will be storing files that are not necessarily documentation (i.e.: archives, personal documents, spreadsheets). Just my 2 cents, Adam >> Me again bringing up this issue again. >> >> I have a mod that a user will upload files (text/html). Those files >> will then be read in by php and displayed. That's not important. >> What IS important is where would phpws like me to store files? >> Should we have a "files" directory in the http_home_dir on the same >> level as images? Then each mod that needs to would create a >> directory of its own name in that directory and then store it's own >> files down below, the same as images works now? > > Good question. Or should they be under a directory in docs (which gets > set to server writable) named after the module? > > > I'll +1 to the directory under docs idea but either way is good with me. > > Matt > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phpwebsite-developers mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers --------------------------------------------------------------------- Adam Morton Developer - Electronic Student Services http://phpwebsite.appstate.edu Founder - Appalachian Linux Users Group http://alug.appstate.edu |
From: Matthew M. <ma...@tu...> - 2003-02-19 00:02:43
|
> Me again bringing up this issue again. > > I have a mod that a user will upload files (text/html). Those files > will then be read in by php and displayed. That's not important. What > IS important is where would phpws like me to store files? Should we > have a "files" directory in the http_home_dir on the same level as > images? Then each mod that needs to would create a directory of its > own name in that directory and then store it's own files down below, > the same as images works now? Good question. Or should they be under a directory in docs (which gets set to server writable) named after the module? I'll +1 to the directory under docs idea but either way is good with me. Matt |