Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Email modifying and forwarding

Thread Tools
 
Search this Thread
 
Old 20 January 2014, 07:54 PM
  #1  
ScoobyWon't
Scooby Regular
Thread Starter
 
ScoobyWon't's Avatar
 
Join Date: May 2002
Location: Pot Belly HQ
Posts: 16,694
Likes: 0
Received 0 Likes on 0 Posts
Default Email modifying and forwarding

Is there a way to set my mail server to abstract the message body from an email and then re-send it as if it's come through an on-line enquiry form?

I want to strip out some of the crap and have the email presented in the same format as all other enquiries that come in.
Old 21 January 2014, 02:42 PM
  #2  
Puff The Magic Wagon!
Moderator
Support Scoobynet!
iTrader: (2)
 
Puff The Magic Wagon!'s Avatar
 
Join Date: May 2000
Location: From far, far away...
Posts: 16,978
Received 15 Likes on 9 Posts
Default

To do that you have to have recognisable fields of data in the same location every time - have you got that?

You will probably have to forward the email to a program that will strip the data out, then either re-email it or submit as a request again (on line form?).

We can email a pre-defined string of data to an email address and have it populate the correct fields within the database but change the contents of the email around and it becomes garbage. So as long as incoming emails are in the same format & layout all the time, it can be done.
Old 21 January 2014, 10:42 PM
  #3  
ScoobyWon't
Scooby Regular
Thread Starter
 
ScoobyWon't's Avatar
 
Join Date: May 2002
Location: Pot Belly HQ
Posts: 16,694
Likes: 0
Received 0 Likes on 0 Posts
Default

It always comes in the same way, I want to keep these details

Name
Dave
Email
email@email.com
Phone Number
0123456789
Event Location
Newtown
Event Details & No. of Guests
Private function for up to 180 guests

In some mail clients, formatting is shown, appearing as if it's in a table and cells, usually featuring some hand-writing like font that I can't read.

All the rest of the rubbish they send can be scrapped.
Old 22 January 2014, 11:20 AM
  #4  
JuergenG
Scooby Regular
 
JuergenG's Avatar
 
Join Date: Mar 2011
Location: Germany
Posts: 71
Likes: 0
Received 0 Likes on 0 Posts
Default

As suggested before, you could use something like procmail and pipe all mails to a perl script to filter out the needed data and resend the email. At least if you have your own mailserver that is running on Unix/Linux.
Old 24 January 2014, 12:55 PM
  #5  
Littleted
Scooby Regular
 
Littleted's Avatar
 
Join Date: Oct 2009
Location: Leeds
Posts: 4,062
Likes: 0
Received 8 Likes on 7 Posts
Default

InfoPath I think does that, Its part of office pro needa bit of tweaking but a great tool once working

http://en.wikipedia.org/wiki/Microsoft_InfoPath
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Frizzle-Dee
Essex Subaru Owners Club
13
01 December 2015 09:37 AM
wms-racing
Wanted
0
28 September 2015 10:05 AM
Pro-Line Motorsport
Car Parts For Sale
0
27 September 2015 11:19 AM



Quick Reply: Email modifying and forwarding



All times are GMT +1. The time now is 06:19 AM.