Web Developer
Aquent
US-VA-Springfield

Justtechjobs.com Post A Job | Post A Resume

Creating a PHP Script for Web Mail Posting and Notification
OVERVIEW
Do you want to send today's entry to your blog? Do you have a newsletter that cannot detect false receiver email addresses? Even though mailing lists are often supported by software such as mailman, ezmlm or majordomo it can be of great value to be able to receive mails via php. Newsletter, trouble-ticket-systems, an archive of mails, or an email based administration of websites or onlineshops are being enabled, if received mails are automatically detected upon arrival.
You can achieve this by regularly connecting your POP or IMAP Server. Problems occur when these servers are only allowing so many connections per hour, file attachments are having to be processed or wrong passwords and other causes of error have to be taken care of. One of the main problems is you are not being notified once an email arrives. You have to connect to your account and download the mail. The download of big mails will slow down your script and due to this circumstance you might receive emails that are a minute or an hour old. On the other hand, you might connect to your account a thousand times without downloading/receiving any mail at all.
My solution (Bjoern SChotte deals with this subject on contentmanager.de) is based on a PHP scriptfile that is being called up once mail is being received. Requirement: A user account on the mailserver. The .forward-file in the directory of this user might be interpreted by postfix or sendmail, and will then start the script.
If you are working with an application that does not have to be informed in case of an arriving email, then POP3 and the IMAP functions are great to work with, as well as the PEAR-POP-functions or other implementations.
[ Next Page ]


Comments:
I need the Script to build a PHP MailerShola04/10/07 15:32
php mail Heinrich Mostert 06/15/05 10:00
Help : Automatic Email acccount Creation gladwin02/11/05 06:48
wanted php scriptsirish01/31/05 05:17
hello mesg to u dearEmad01/12/05 02:27
about mailsiri12/24/04 06:05
Selam-in aleykum kardesselim12/07/04 03:03
hellocetin07/24/04 09:32
Support systemGiancarlo06/24/04 03:08
Mailing listGiancarlo06/24/04 03:06
Usage of the programGiancarlo06/24/04 03:05
Unuseful codealejandro06/13/04 16:30
why this codding is not workingGovind Kumar Sahu05/24/04 04:18
 

If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly.

Add A Comment:

Name:

Email:

Subject:

Message:

To reduce spam posts, messages are now manually approved

You are not [logged in]. That means your account will not get credit for this post.