This is a discussion on Reading email from sendmail within the PHP General forums, part of the PHP Programming Forums category; Good afternoon, all!! Is there a function or series of functions in PHP that will allow a PHP package to ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Good afternoon, all!!
Is there a function or series of functions in PHP that will allow a PHP package to read email from a sendmail account, look for a specific information in the subject line, then be able to resend that email to a group of users?? I know mail can be used to send email but reading from sendmail???... Any information is greatly appreciated and profoundly useful. Robin 'Sparky' Kopetzky Black Mesa Computers/Internet Service Grants, NM 87020 |
|
|||
|
Robin Kopetzky wrote:
> Good afternoon, all!! > > Is there a function or series of functions in PHP that will allow a PHP > package to read email from a sendmail account, look for a specific > information in the subject line, then be able to resend that email to a > group of users?? I know mail can be used to send email but reading from > sendmail???... > > Any information is greatly appreciated and profoundly useful. > > Robin 'Sparky' Kopetzky > Black Mesa Computers/Internet Service > Grants, NM 87020 You could use the imap functions to read from an IMAP account quite easily. -- paperCrane <Justin Patrin> |
|
|||
|
On Tuesday, December 9, 2003, at 08:58 AM, Robin Kopetzky wrote:
> Good afternoon, all!! > > Is there a function or series of functions in PHP that will allow a > PHP > package to read email from a sendmail account, look for a specific > information in the subject line, then be able to resend that email to a > group of users?? I know mail can be used to send email but reading from > sendmail???... > > Any information is greatly appreciated and profoundly useful. > http://au2.php.net/imap Might be a good starting point. Justin French |
|
|||
|
Hello,
On 12/08/2003 07:58 PM, Robin Kopetzky wrote: > Is there a function or series of functions in PHP that will allow a PHP > package to read email from a sendmail account, look for a specific > information in the subject line, then be able to resend that email to a > group of users?? I know mail can be used to send email but reading from > sendmail???... You can always try to read the mail box file directly if your Web server user has the right permissions. However, the most portable way is to connect to your POP3 server to fetch the messages as you need. In that case you may want to take a look at this POP3 client class: http://www.phpclasses.org/pop3class -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ |
|
|||
|
In article <HCEBLNDFHDPOOELMIHOMIEFLCNAA.sparkyk@blackmesa-isp.net>,
sparkyk@blackmesa-isp.net says... > Good afternoon, all!! > > Is there a function or series of functions in PHP that will allow a PHP > package to read email from a sendmail account, look for a specific > information in the subject line, then be able to resend that email to a > group of users?? I know mail can be used to send email but reading from > sendmail???... > > Any information is greatly appreciated and profoundly useful. > > Robin 'Sparky' Kopetzky > Black Mesa Computers/Internet Service > Grants, NM 87020 If the 'sendmail account' can be a dedicated address, you can use sendmail's alias to direct any emails to a php script which does what you need. Cheers -- Quod subigo farinam A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet? |
![]() |
| Thread Tools | |
| Display Modes | |
|
|