It is possible to be able to receive email alerts (say, from Google News)
and publish them to a web page automatically?
I am a novice as far as PHP goes, but I can open and write to a file and
close the file up again. The html page references the file and can format
the plain text. So far I am OK ( I think ).
I am not sure how I would automate, or get the content of the email, and
output it to a file. Any thougths?
Thank you.
Christopher 7 1715
Christopher Richards wrote: It is possible to be able to receive email alerts (say, from Google News) and publish them to a web page automatically?
I am a novice as far as PHP goes, but I can open and write to a file and close the file up again. The html page references the file and can format the plain text. So far I am OK ( I think ).
I am not sure how I would automate, or get the content of the email, and output it to a file. Any thougths?
If you can set up an alias in your mail server, you could pipe the
message to a script (on that server) to insert the stuff into a database
when a message reaches that address... I haven't played much with that,
but I do have my mail server set up to transfer files with a certain
name to another server when an email arrives at that address...
Other than that, I'd assume you'll need some kind of cron script and
have it check the mail, etc from the web server... You may be able to
find some ideas of how to hanle the messages from some of the webmail
apps around.
--
Justin Koivisto - sp**@koivi.com http://www.koivi.com
In article <j8**************@news7.onvoy.net>, Justin Koivisto wrote: Christopher Richards wrote:
It is possible to be able to receive email alerts (say, from Google News) and publish them to a web page automatically?
I am a novice as far as PHP goes, but I can open and write to a file and close the file up again. The html page references the file and can format the plain text. So far I am OK ( I think ).
I am not sure how I would automate, or get the content of the email, and output it to a file. Any thougths? If you can set up an alias in your mail server, you could pipe the message to a script (on that server) to insert the stuff into a database when a message reaches that address... I haven't played much with that, but I do have my mail server set up to transfer files with a certain name to another server when an email arrives at that address...
Although there are ppl in this group that don't like it, man procmail
Other than that, I'd assume you'll need some kind of cron script and have it check the mail, etc from the web server... You may be able to find some ideas of how to hanle the messages from some of the webmail apps around.
man fetchmail
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://www.timvw.info>
Why does everyone always assume all servers are running linux?
:(
Tim Van Wassenhove wrote: In article <j8**************@news7.onvoy.net>, Justin Koivisto wrote:
Christopher Richards wrote:
It is possible to be able to receive email alerts (say, from Google News) and publish them to a web page automatically?
I am a novice as far as PHP goes, but I can open and write to a file and close the file up again. The html page references the file and can format the plain text. So far I am OK ( I think ).
I am not sure how I would automate, or get the content of the email, and output it to a file. Any thougths?
If you can set up an alias in your mail server, you could pipe the message to a script (on that server) to insert the stuff into a database when a message reaches that address... I haven't played much with that, but I do have my mail server set up to transfer files with a certain name to another server when an email arrives at that address...
Although there are ppl in this group that don't like it, man procmail
Other than that, I'd assume you'll need some kind of cron script and have it check the mail, etc from the web server... You may be able to find some ideas of how to hanle the messages from some of the webmail apps around.
man fetchmail
In article <41***********************@ptn-nntp-reader04.plus.net>, neur0maniak wrote: Why does everyone always assume all servers are running linux?
who mentionned linux?
procmail and fetchmail run under _many_ operating systems. even win32 :P
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://www.timvw.info>
neur0maniak wrote: Why does everyone always assume all servers are running linux?
Because its a very sensible thing to do!
1/ It's free
2/ It's very secure
3/ It's very fast
4/ Running a GUI on a web server wastes processing cycles and memory.
2metre wrote: neur0maniak wrote:
Why does everyone always assume all servers are running linux?
Because its a very sensible thing to do!
1/ It's free 2/ It's very secure 3/ It's very fast 4/ Running a GUI on a web server wastes processing cycles and memory.
PS. I can setup a linux server (including buying the computer and
operating system) for less than the cost of a Windows software licence.
I'm not saying I don't use linux (I'm an avid debian user)
It just hits one of my nerves to see OS-specific help for a question
that mentions no OS. I guess I'm just sensitive...
2metre wrote: neur0maniak wrote:
Why does everyone always assume all servers are running linux?
Because its a very sensible thing to do!
1/ It's free 2/ It's very secure 3/ It's very fast 4/ Running a GUI on a web server wastes processing cycles and memory. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Marian |
last post by:
Hi,
I am totaly novice in .NET and I am studying a book about this. There
was mentioned "assembly". I did not understand, how function does it has .
I would like to know the exact run of code...
|
by: George |
last post by:
Is this group for a novice C++ programmers?
|
by: AES/newspost |
last post by:
My understanding -- I'm not an expert -- is that on (some? many? all?)
standard Internet servers a URL can point to a subdirectory name
followed by a backslash, and that links to this URL will...
|
by: ronwer |
last post by:
Hello,
The title doesn't completely cover the question I have, but it's a bit more
complicated problem we have.
We are using a database, based on Acces, but developed by a third party...
|
by: Cindi |
last post by:
Hi there,
When selecting a choice from the switchboard, what do I need to do so the
new window opens in front of the switchboard rather than behind?
Regards,
Cindi
|
by: herrcho |
last post by:
Here is the code..
#define NAME "MEGATHINK, INC"
#define ADDRESS "10 Megabuck Plaza"
#define PLACE "Megapolis, CA 94904"
int main()
{
starbar();
printf("%s\n",NAME);
|
by: Dmitry Sazonov |
last post by:
I'm novice here and I'm sorry for stupid question. We are trying to
understand web services architecture, is it better than TIBCO.Randevouz and
does webservices fit our needs.
I understand, I...
|
by: TwistedSpanner |
last post by:
Hello all,
For the record I am a complete java novice.
I have to write a program to generate/output to screen 10 simple maths question and output a final score . The question is as follows
...
|
by: Kelii |
last post by:
I've been trying to get this piece to work for a few hours, but have
given up. I hope someone out there can help, I think the issue is
relatively straightforward, but being a novice, I'm stumped....
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |