Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Speed dial from email signature

Status
Not open for further replies.

Welshbird

IS-IT--Management
Jul 14, 2000
7,378
0
0
DE
My boss has just askied me how he can dial direct from an email signature...

The problem is that everyone (certainly in the UK) seems to have thier signature in the format +44(0)5555 567890

To dial, we need this without the zero and without the brackets.

Does anyone have any bright ideas?

Thanks,

Fee

"The cure for anything is salt water – sweat, tears, or the sea." Isak Dinesen
 
Boo. I'd just love to give him a solution for this!

Might have to write him an app??

Fee

"The cure for anything is salt water – sweat, tears, or the sea." Isak Dinesen
 
From a development point-of-view, you might be able to script your mail server to parse incoming emails, and add some markup around phone numbers that are in the wrong format. Then, when the phone retrieves them from the mail server (or when they are pushed to the phone), they'll have the modified version with dialable numbers.

Here's a link to Apple's docs on the phone link scheme. That document links to a couple of RFCs on the various formats in use, and a regexp to match the numbers should be fairly easy.

In a nutshell, you'd be creating a link using the "tel:" protocol, where you can specify the number to dial, something like this:

Code:
McBlah Waffle and Drone, Solicitors. Tel: <a href="tel:05555567890">+44(0)5555 567890</a>

I've not tried this, but I reckon it's a goer :)

I don't know what his iPhone / mail server setup is, nor which mail server is in use, so it may be that this isn't an option for you. Worth mentioning, though :)

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

Dan's Page [blue]@[/blue] Code Couch:
[blue]@[/blue] Twitter: twitter.com/SleepyDrunkDan

The Out Atheism Campaign
 
Cheers Dan! I'll pass it to the appropriate people.

Fee

"The cure for anything is salt water – sweat, tears, or the sea." Isak Dinesen
 
What Dan said, I reckon that'd be the easiest way to skin this one. I know sod all about doing clever stuff with exchange but on a Linux Mail Server that'd be a fairly trivial thing to get done.

The difference between genius and stupidity is that genius has its limits

Rob
 
Exchange 2007 and 2010 include Transport Rules, which allow a certain level of 'fiddling' with a message in transit when it matches a certain set of criteria, but unfortunately editing content isn't one of the supported actions.

You can add extra content to the body text (like an email disclaimer for outbound email), but you can't alter existing body text.
 
We still don't know which mail server is being used. Fee: can you find out and let us know? There's little point in guessing about things that might not be appropriate for the situation.

You can add extra content to the body text (like an email disclaimer for outbound email), but you can't alter existing body text.

So if exchange is the mail server in use (which we don't know), an extra footer could be added that mirrors the first, but with the addition of the dialable number markup. Then, the boss is trained to ignore the first footer. Simples.



Coedit Limited - Delivering standards compliant, accessible web solutions

Dan's Page [blue]@[/blue] Code Couch:
[blue]@[/blue] Twitter: twitter.com/SleepyDrunkDan

The Out Atheism Campaign
 
whatever the current mail server it would not be difficult to insert another as a gateway (which would allow content manipulation).
 
Tis Exchange.

Fee

"The cure for anything is salt water – sweat, tears, or the sea." Isak Dinesen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top