If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > E-Mail Automatically to MySQL ?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-01-04, 09:32
kevmuskoka kevmuskoka is offline
Registered User
 
Join Date: Oct 2004
Posts: 2
E-Mail Automatically to MySQL ?

How can I do this ? I don't want to have to do anything except be able to create a PHP script that views the data that goes to the MySQL database ?

The e-mail address will not contain anything private, simply making available a way to view notices that are sent to that e-mail address with a timestamp of when they were sent.

Thanks.

Kevin Plested
Warpzone Communications
Reply With Quote
  #2 (permalink)  
Old 10-03-04, 18:14
yellowmarker yellowmarker is offline
Registered User
 
Join Date: Jul 2004
Location: Dundee, Scotland
Posts: 107
I'd guess that you would need to run a script every X minutes to 1) check for relevant emails on the mail server, and 2) insert the email message content into the MySQL database.

(if were talking Linux, cron would be the scheduling program... then you'd perhaps need a command-line interface to the mail server)
Reply With Quote
  #3 (permalink)  
Old 10-07-04, 06:04
kevmuskoka kevmuskoka is offline
Registered User
 
Join Date: Oct 2004
Posts: 2
more info

I do have CRON installed on my machine, which is a FreeBSD Unix box.

I use Sendmail 8.12.11 as my mail client.

I have a feeling this isn't easy, but if anyone can help me, that would be great.

Kevin Plested
Warpzone Communications
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On