Dev Shed Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDev Shed Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 19th, 2001, 10:15 AM
rod k rod k is offline
Apprentice Deity
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Jul 1999
Location: Niagara Falls (On the wrong side of the gorge)
Posts: 3,237 rod k User rank is Private First Class (20 - 50 Reputation Level)rod k User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 m 8 sec
Reputation Power: 13
Send a message via AIM to rod k
MS Outlook - breaking links in HTML emails

This is really weird and I haven't been able to find any references to similar problems via Google or MS site.

I'm sending an HTML email. The basic construct is a table with the left column containing navigation links and the right containing the body which also contains links. The links in the body work correctly, but the links in the left column are getting corrupted somehow. The links are in this format:

http://www.example.com/page.php?foo=bar&bar=foo

but in the left column they are corrupted to

http://www.example.com/pagephp?foo=bar&bar=foo

Notice the '.' between 'page' and 'php' is gone. Again, this doesn't happen to the links in the right column.

Yes, the links are correct in the source before being sent (in fact some of the links are the same in both and are, in fact, generated from the same variable).

Now, the email contains a multipart mime with the text version listed first. Thinking this might some how be causing a problem I removed the text portion but no joy.

Anybody have similar experiences or seen mention of this elsewhere?
__________________
FSBO (For Sale By Owner) Realty

Reply With Quote
  #2  
Old August 21st, 2002, 09:20 PM
stonie stonie is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Posts: 5 stonie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy Any solutions?

Hello,

has anyone solved this problem?? I am having the exact same problem. basicly outlook is droping a period, exactly as above!!@%$#!^%

I was hoping someone out there has a fix!

Cheers,
Stonie.

Reply With Quote
  #3  
Old August 21st, 2002, 09:25 PM
roninblade's Avatar
roninblade roninblade is offline
// no comment
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Dec 2001
Posts: 1,639 roninblade User rank is Sergeant Major (2000 - 5000 Reputation Level)roninblade User rank is Sergeant Major (2000 - 5000 Reputation Level)roninblade User rank is Sergeant Major (2000 - 5000 Reputation Level)roninblade User rank is Sergeant Major (2000 - 5000 Reputation Level)roninblade User rank is Sergeant Major (2000 - 5000 Reputation Level)roninblade User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 4 h 45 m
Reputation Power: 33
id say, just stop using outlook.

Reply With Quote
  #4  
Old August 21st, 2002, 09:39 PM
stonie stonie is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Posts: 5 stonie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I agree that outlook is a crap email client…

BUT…

You can't control which mail client is used, same as you can't control which browser people use. As every developer knows, making your code cross/browser/email client/platform/language is a major challenge.

Please join us in the real world and try not to post non-helpful/unconstructive posts.

Cheers,
Stonie.

Reply With Quote
  #5  
Old August 21st, 2002, 10:22 PM
Ctb's Avatar
Ctb Ctb is offline
An Ominous Coward
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jan 2002
Posts: 4,425 Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 3 Weeks 10 h
Reputation Power: 0
Ouch Ronin, he gotcha on that one...

Maybe Microsoft should take a lesson from this thread.. did anyone ever try to look at the support site in Opera... ANYWAY.. back to the topic at hand:

1. What version(s) of Outlook have you seen to be affected?
2. How are you creating the HTML (perl, PHP, etc)?
3. Do you happen to have a broken sample message?

Reply With Quote
  #6  
Old August 22nd, 2002, 12:26 AM
rod k rod k is offline
Apprentice Deity
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Jul 1999
Location: Niagara Falls (On the wrong side of the gorge)
Posts: 3,237 rod k User rank is Private First Class (20 - 50 Reputation Level)rod k User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 m 8 sec
Reputation Power: 13
Send a message via AIM to rod k
You know, I did get this resolved, but I can't remember what the problem/solution ended up being...

Reply With Quote
  #7  
Old August 22nd, 2002, 12:40 AM
roninblade's Avatar
roninblade roninblade is offline
// no comment
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Dec 2001
Posts: 1,639 roninblade User rank is Sergeant Major (2000 - 5000 Reputation Level)roninblade User rank is Sergeant Major (2000 - 5000 Reputation Level)roninblade User rank is Sergeant Major (2000 - 5000 Reputation Level)roninblade User rank is Sergeant Major (2000 - 5000 Reputation Level)roninblade User rank is Sergeant Major (2000 - 5000 Reputation Level)roninblade User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 4 h 45 m
Reputation Power: 33
Quote:
Originally posted by Ctb
Ouch Ronin, he gotcha on that one...
heheh. i know. i was just feeling cranky this morning.

stonie, sorry for that post man. i'm gonna try and be a good ronin from now on

Reply With Quote
  #8  
Old August 22nd, 2002, 05:13 PM
Ctb's Avatar
Ctb Ctb is offline
An Ominous Coward
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jan 2002
Posts: 4,425 Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 3 Weeks 10 h
Reputation Power: 0


I just now noticed that the thread started in December!

Reply With Quote
  #9  
Old August 22nd, 2002, 08:05 PM
stonie stonie is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Posts: 5 stonie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Lightbulb

I seemed to have found a workaround. After trawling the web for information and finding very little. I did read a post somewhere about adding Square brackets, as some mail components drop a strings that are longer than 72 chars? So it appears to be a mail component problem rather than mail client problem.

I can’t be sure why the square brackets work (which I find annoying) but the square brackets do stop the mail component stuffing up.
The component I’m using is M$ CDONTS.

Examples:

This is the string being fed into the component:

http://****.com/activate.asp?s=0&i=764871E88E00493DA9F254923C527C34

This is the string I get out:

http://****.com/activateasp?s=1&i=764871E88E00493DA9F254923C527C34
(It’s dropped the period just before the file extension)

Adding the square brackets to the string. Stops the period being dropped. Below is the same string with square brackets, which comes out fine.

<http://****.com/activate.asp?s=0&i=764871E88E00493DA9F254923C527C34>

I tried sending as plain text instead of MIME, but that stoped the client interpreting the link at all.

So basically I don’t know why this works but it does.
I have tested it in several email clients and also web based mail such as hotmail and it works fine. I can’t be sure it will work everywhere, but its good enough for me.

Thank for your help guys and roninblade don’t worry everyone has their off days!

Later
Stonie.


Reply With Quote
  #10  
Old August 22nd, 2002, 09:59 PM
Ctb's Avatar
Ctb Ctb is offline
An Ominous Coward
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jan 2002
Posts: 4,425 Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 3 Weeks 10 h
Reputation Power: 0
Erps.. actually it's sort of considered a sound practice to use angle brackets in URLs that go into mail programs... I just sort of assumed that you were already doing it..

Reply With Quote
  #11  
Old August 22nd, 2002, 10:05 PM
stonie stonie is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Posts: 5 stonie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Well it's news to me?

It doesn’t seem to be common practice, for instance this forum doesn’t use them?

Stonie.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDev Shed Lounge > MS Outlook - breaking links in HTML emails


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |