SEO | Link Popularity | Search Engine Consulting | SEO Tutorial | SEO Tools | SEO Forum
Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-10-2006, 01:59 AM
Molly Molly is offline
SEO Junior
 
Join Date: Sep 2005
Location: London
Posts: 11 Molly is on a distinguished road
Emailing into a Database!

Hi

on our server we are looking to set it up so that emails that are address to a certain email address somehow get inserted into a row in a SQL server database. But we have been scratching our head for quite some time now and the best thing we can come up with is paying some on to copy and paste them in manually. Does anyone know of a better way? I think we have to stick to micrsoft mail server as well.

An advice would be greatly recieved.
__________________
Sorry spelling not my strong point!
Reply With Quote
  #2  
Old 04-10-2006, 07:47 AM
jlknauff's Avatar
jlknauff jlknauff is offline
SEO GUY Moderator
 
Join Date: May 2004
Location: In perpetual style
Posts: 3,312 jlknauff is on a distinguished road
You will have to make a script and run it as a cron job. Don't ask how because I can't answer it, but someone else may be able to
__________________
Wildfire Marketing Forum - Visit our free marketing forum to learn and share tips about marketing.
Reply With Quote
  #3  
Old 04-14-2006, 12:32 AM
Paz's Avatar
Paz Paz is offline
SEO GUY Moderator
 
Join Date: Sep 2004
Location: Antalya, Turkey
Posts: 4,181 Paz has a spectacular aura aboutPaz has a spectacular aura about
I have an asp email mailing script that I use to send hotel special offers to clients. You can add/remove new clients or mark them as "inactive". It uses an MS Access database though rather than SQL - could you modify it? Send me a PM if you are interested.

Cheers,
Paz.
__________________
10.3 million entries for Hotels in Turkey but I'm still chipping away.
Reply With Quote
  #4  
Old 05-09-2006, 07:44 AM
jedicoder's Avatar
jedicoder jedicoder is offline
SEO Junior and a half
 
Join Date: May 2006
Posts: 69 jedicoder is on a distinguished road
The answer could be with your email client. If you use Outlook for an email client, it's programmable. It's object model is not easy however. I haven't done what you ask, but I've customized other Microsoft Office apps like Powerpoint and Word. It's called VBA code. I hope this gives you ideas.
__________________
jedicoder
current seo efforts on Website Designer Search Directory and Grand Oak eCommerce Web Designer
Reply With Quote
  #5  
Old 05-09-2006, 08:29 AM
dilligaf's Avatar
dilligaf dilligaf is offline
SEO GUY Moderator
 
Join Date: May 2004
Location: Tampa Bay
Posts: 2,872 dilligaf has a spectacular aura aboutdilligaf has a spectacular aura about
An email that adds a record to a data base?
__________________
OverSite - A unique web directory for quality sites ONLY.
Reply With Quote
  #6  
Old 05-15-2006, 09:44 AM
Raspberry Raspberry is offline
SEO Junior
 
Join Date: May 2006
Location: Nanaimo
Posts: 4 Raspberry is on a distinguished road
Quote:
Originally Posted by Molly
Hi

on our server we are looking to set it up so that emails that are address to a certain email address somehow get inserted into a row in a SQL server database. But we have been scratching our head for quite some time now and the best thing we can come up with is paying some on to copy and paste them in manually. Does anyone know of a better way? I think we have to stick to micrsoft mail server as well.

An advice would be greatly recieved.


ive never done this on a MS machine, but on linux:

1. use an alias to pipe the email address to a script
something@here.com | /home/site/www/email_input.php

2. use stdin() in email_input.php to grab the contents of the email

3. use pear:Mail_Mime to parse the email into digestible sections plain text, rtf, html, attachemnts etc.

4. insert relevant parts into the db

I created a proof of concept a long time ago so i could see if i could make a site that would allow me to upload images via email. It works, most of the time, RC
Reply With Quote
  #7  
Old 05-29-2006, 05:28 PM
BSolveIT's Avatar
BSolveIT BSolveIT is offline
SEO
 
Join Date: May 2005
Location: England, UK
Posts: 621 BSolveIT has a spectacular aura aboutBSolveIT has a spectacular aura about
Send a message via MSN to BSolveIT
The answer you want is within SQL Mail on SQL Server 2000.

You need to setup the SQL Mail and SQL Agent mail. Once done, you can even fire queries at your database via email, to which the SQL Server will email you the results - completely automatically.

Anyway, once your got SQL Mail setup, you just need to decide what you want SQL Server to do when it recieves the emails in question. I normally do it with triggers.

Here's a link to set you on the right road (SQL Server will do everything you need):

http://www.databasejournal.com/feat...cle.php/3345091

Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Login/Register
User Name
Password
Remember Me?

Forum Links
Forum Home
SEO Forum
Internet Marketing Forum
Web Design Forum
Web Hosting Forum
Programming Forum
SEO Chat

Quick Links
Forum Home
New Posts
Mark Forums Read
Open Buddy List
User Control Panel
Edit Avatar
Edit Profile
Edit Options
Miscellaneous
Subscribed Threads
My Profile

Search Forums

Advanced Search
All times are GMT -8. The time now is 10:59 AM.


Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.