Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Anchor tag in email problem

Posted on 2011-02-19
12
Medium Priority
?
333 Views
Last Modified: 2012-05-11
I have a problem including a link in email:

Email is in HTML format.

I set <a href="https://mysite.com?id=qstringdata>Link text</a> in the email body. When the email is saved in the pickup folder the link is exactly what I set it to.

But, when the email is received it has been changed to:
<a href="http://https//mysite.com?id ........

Why is http:// being added when I already have a prefix set?

Please help.

Thanks,
Tim
0
Comment
Question by:tinouye
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
12 Comments
 
LVL 29

Expert Comment

by:Paul Jackson
ID: 34935599
Are you closing the quotes in your code as you are not in your example above ?
0
 

Author Comment

by:tinouye
ID: 34935657
Thanks for the observation; bad in my example but, ok in the code.  I am closing the quotes.
0
 
LVL 5

Expert Comment

by:onemadeye
ID: 34937425
I'm not so sure but I think it might require 'slash' too after .com
Try use this:
<a href="https://mysite.com/?id=qstringdata">Link text</a>

Open in new window


BTW what software/script you use in sending the Email in HTML format?
0
Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

 

Author Comment

by:tinouye
ID: 34938152
The extra slash does not fix it.

I use Chilkat Email library to create the email.  The way its done I create the message then store it in a pickup folder where IIS picks it up and sends the email.

I can view the stored message and it is formatted correctly; no http:// prefix added.

0
 
LVL 5

Expert Comment

by:onemadeye
ID: 34938208
Okay, as you said :
But, when the email is received it has been changed to:
<a href="http://https//mysite.com?id ........

Where or how do you check the email received?
Have you check it on some web based email too like Gmail Yahoo etc ?
Just to be sure if the problem occurs from the email sending software OR the email receiving software..
0
 

Author Comment

by:tinouye
ID: 34938450
I check it in either hotmail or outlook.  The result is the same in either.

I can view the email in the pickup folder as I mentioned.  It is formatted correctly there.

Its when I receive it that it has the extraneous http:// prefixed to it.
0
 

Author Comment

by:tinouye
ID: 34938494
Ah! after more testing I've found it only happens in Hotmail.  Works fine in outlook.

0
 
LVL 5

Expert Comment

by:onemadeye
ID: 34938520
Okay, so assumed the problem is on the Chilkat Email library (which I'm not experienced at all unfortunately) ...
- Have you tried to insert other links? Perhaps links without HTTPS (just HTTP)
Like this:
<a href="http://mysite.com/?id=qstringdata">Link text</a>

Open in new window


I assumed the problem is because of the inserted HTTPS link ... but if it's added HTTP:// on whatever links you includes, then I dont think I can be in any help at all  :(

Perhaps someone here who has experience with Chilkat Email library can help you better.

Regards...
0
 
LVL 5

Expert Comment

by:onemadeye
ID: 34938526
Well ... so ... if the problem is really on HOTMAIL then I guess nothing you can do to fix it :(
try to other email provider too like Gmail or Yahoo to see if it gives the same problem too.
0
 

Accepted Solution

by:
tinouye earned 0 total points
ID: 34954064
Thanks for your help. I've sent a note to Microsoft support.
0
 
LVL 5

Expert Comment

by:onemadeye
ID: 34954306
I doubt if Microsoft or Hotmail will ever help you fix that solution :)

Anyway, glad to know that finally you can find out that the problem is on Hotmail without any help from anybody here.

Regards...
0
 

Author Closing Comment

by:tinouye
ID: 34990822
The issue is still outstanding. A note has been sent to Microsoft.  Apparently there are no Microsoft experts on this forum.
0

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question