Solved

Anchor tag in email problem

Posted on 2011-02-19
12
320 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
  • 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
 

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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
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…

895 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now