Contractor UK Bulletin Board  PayStream

Go Back   Contractor UK Bulletin Board > Contractor UK Forums > Technical
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 22nd July 2008, 13:29   #1
Dante
Lurker not a fighter
 
Join Date: May 2007
Posts: 88
Default Exchange / HTML email issue

Hi Guys,

Due to some brilliant offshore coding, my customer has an app which mails out HTML email with the <html> tag missing from the source of the message. The </html> tag is present at the end tho - so they did half a job.

Now from my understanding - some mail clients (later versions of MS Outlook) can still display the message as they can inteprete it as HTML anyway - without the tags, but some 'other' as yet unspecified mail client (possibly web mail) cannot.

The messages are sent from this app, through a box running Exchange 2k3 and MIMEsweeper. Is there any way to add this tag in?

I know with MIMEsweeper you can add a footer to teh message (e.g a disclaimer), but didn't know if you could touch the source rather than the 'display text'.

If not - i've also heard of ways of using VBscript in Exchange to maybe do something, but can't see much about that on the University of Google.

Thanks for your help in advance.

Dan
Dante is offline   Reply With Quote
Old 22nd July 2008, 13:40   #2
DimPrawn
Godlike
 
DimPrawn's Avatar
 
Join Date: Jul 2005
Posts: 10,425
Default

Are you saying the offshore code monkeys can't supply a fix or that there is no source code available to fix yourself? That is madness!

If you can intercept the email before it reaches the mail server, you could create a simple program to add the <html> tag in using a regular expression.

Does the app send email via SMTP? If so, create a listener SMTP service in C# that uses the regex to fix the text before sending it on to the correct SMTP server.
__________________
Last week I cashed a cheque and the bank bounced.
DimPrawn is offline   Reply With Quote
Old 22nd July 2008, 13:41   #3
TheBigYinJames
Contractor Among Contractors
 
TheBigYinJames's Avatar
 
Join Date: Jun 2008
Posts: 1,437
Default

Also make sure that you flag the stupid error to the highest level of the company so that we get a general awareness around upper management about how much expensive rework of this kind is often required from outsourced IT developments.
TheBigYinJames is offline   Reply With Quote
Old 22nd July 2008, 13:45   #4
Dante
Lurker not a fighter
 
Join Date: May 2007
Posts: 88
Default

Hi Dimprawn,

Thanks for the swift reply.

Regarding the code - i'm told it's closed source and that's that.

It's being sent by an app (not seen it yet) and is then relayed via the Exchange / MIMEsweeper box via SMTP.

I'm not a developer by any means (merely an infrastructure monkey) so any advice is greatly appreciated. Anything beyond basic VBscript / WSH is beyond me at the moment - hence why i was looking for a solution within the software or a simple script bolt-on.

In what way would I be best off intercepting the mail? I have visibilty of it from source server through to Exchange - can I use a regular expression to add the tag at some point on this path? Is it as simple as adding text to any file or is there something more complex with email messages?
Thanks again for your time,

Dan
Dante is offline   Reply With Quote
Old 22nd July 2008, 14:44   #5
DimPrawn
Godlike
 
DimPrawn's Avatar
 
Join Date: Jul 2005
Posts: 10,425
Default

Sorry I know nothing about Exchange server.

Sounds like the sort of challenge you could put up on www.rentacoder.com
__________________
Last week I cashed a cheque and the bank bounced.
DimPrawn is offline   Reply With Quote
Old 22nd July 2008, 14:59   #6
Dante
Lurker not a fighter
 
Join Date: May 2007
Posts: 88
Default

I think that's where they went wrong in the first place!
Dante is offline   Reply With Quote
Reply


Thread Tools
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

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


All times are GMT. The time now is 07:19.


Advertisers
PayStream

CUK Navigation

Contractor Alliance
Formed a new Ltd Co?

20% off business insurance
£10 off Bauer & Cottrell contract reviews
Find co-workers & client introductions

Increase your value to clients here

Fast Company Formation
Same day online company formation £75 + VAT

Form your Ltd Co Here

Contractor Services


 
Content Relevant URLs by vBSEO 2.4.0 © 2005, Crawlability, Inc.