Re: [PHP-DB] Re: php mail() question

2003-12-27 Thread JeRRy
Change this: echo "",HtmlSpecialChars($headers[$line]),"'"; For echo "".HtmlSpecialChars($headers[$line])."'"; Which should display. I tried this a few days ago. All it outputs is the "PRE" HTML tags. even replacing the ',' with '.' . That's what I thought would need to be done to

Re: [PHP-DB] Re: php mail() question

2003-12-23 Thread JeRRy
Change this: echo "",HtmlSpecialChars($headers[$line]),"'"; For echo "".HtmlSpecialChars($headers[$line])."'"; Which should display. I tried this a few days ago. All it outputs is the "PRE" HTML tags. even replacing the ',' with '.' . That's what I thought would need to be done to

Re: [PHP-DB] Re: php mail() question

2003-12-23 Thread mike karthauser
> What does this do? Well I added and for > a testing purpose. > > It returns in the textarea ... > > So it's skipping the HtmlSpecialChars code. Why? Change this: echo "",HtmlSpecialChars($headers[$line]),"'"; For echo "".HtmlSpecialChars($headers[$line])."'"; Which should display. --

[PHP-DB] Re: php mail() question

2003-12-22 Thread JeRRy
Hi, Okay removed "value" and have this now: ---some code--- echo ""; echo "",HtmlSpecialChars($headers[$line]),"'"; echo ""; ---some code--- What does this do? Well I added and for a testing purpose. It returns in the textarea ... So it's skipping the HtmlSpecialChars code. Why? Okay i

[PHP-DB] Re: php mail() question

2003-12-22 Thread Manuel Lemos
Hello, On 12/22/2003 12:13 PM, Jerry wrote: You just need to call the RetrieveMessage function that returns the headers of each message and then look for the To: header. Ummm, why can't you give me a working code that grabs the headers and put it into a textarea? Hey, I can tell you how to fis

[PHP-DB] Re: php mail() question

2003-12-22 Thread JeRRy
You just need to call the RetrieveMessage function that returns the headers of each message and then look for the To: header. -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ Ummm, why can't you give me a working code that grabs the headers

[PHP-DB] Re: php mail() question

2003-12-21 Thread Manuel Lemos
Hello, On 12/18/2003 10:44 AM, Jerry wrote: How do I list the headers that are ouputed in the page into the text area also? You just need to call the RetrieveMessage function that returns the headers of each message and then look for the To: header. -- Regards, Manuel Lemos Free ready to use OO

[PHP-DB] Re: php mail() question

2003-12-18 Thread JeRRy
Hi, Just to follow-up on this. I knuckled down and did some work regarding this thread. What I achieved makes things work a tad faster than previously however it did not work out as I wanted entily but has fastened the process somewhat but still have a question regarding it. I have managed to b

[PHP-DB] Re: php mail() question

2003-12-17 Thread JeRRy
--- Actually I start a PHP script from the cron task that runs every 5 minutes using PHP CGI executable version. I just process upto 100 bounced messages per run avoid hogging the database server and blocking the POP3 mailbox for a long time, as this is not a prioritary task. --- Right, how do

[PHP-DB] Re: php mail() question

2003-12-16 Thread Manuel Lemos
Hello, On 12/16/2003 10:04 PM, Jerry wrote: Actually I just relised what you meant. :P And that would work great by having it like that.. Something like this would work fine. If the email bounces return it to [EMAIL PROTECTED] So I would set the sender as whatever I want and the return_path as a

[PHP-DB] Re: php mail() question

2003-12-16 Thread JeRRy
Jerry, Actually I just relised what you meant. :P And that would work great by having it like that.. Something like this would work fine. If the email bounces return it to [EMAIL PROTECTED] So I would set the sender as whatever I want and the return_path as a way to identify the user? Is that

[PHP-DB] Re: php mail() question

2003-12-16 Thread JeRRy
Hi, Are you using the test_pop3.php file that you showed me with the script that handles the bounced emails? If so, could you please show me a basic example of it working with it? My return_path is set as an email alias. (not a real address at the domain) [EMAIL PROTECTED] So that bounce

[PHP-DB] Re: php mail() question

2003-12-15 Thread Manuel Lemos
Hello, On 12/15/2003 10:23 PM, Jerry wrote: Thanks for that. That's hitting the nail right on the head. But I need a bit of PHP code to talk to mysql and only read the "from" part of the email and use a query to check the database if the entry is there. If it is than flag it, if not skip it and

[PHP-DB] Re: php mail() question

2003-12-15 Thread JeRRy
Hi, Thanks for that. That's hitting the nail right on the head. But I need a bit of PHP code to talk to mysql and only read the "from" part of the email and use a query to check the database if the entry is there. If it is than flag it, if not skip it and delete the email. So would I need to e

[PHP-DB] Re: php mail() question

2003-12-15 Thread Manuel Lemos
Hello, On 12/14/2003 11:51 PM, Jerry wrote: Php mail() question. I use php mail() frequently, dragging data from a mysql database. I am not sure if this is possible but thought I'd throw it on this board. in php mail() function you can set a return_address etc. Is it possible to change this and