Link to home
Start Free TrialLog in
Avatar of tinouye
tinouye

asked on

Anchor tag in email problem

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
Avatar of Paul Jackson
Paul Jackson
Flag of United Kingdom of Great Britain and Northern Ireland image

Are you closing the quotes in your code as you are not in your example above ?
Avatar of tinouye
tinouye

ASKER

Thanks for the observation; bad in my example but, ok in the code.  I am closing the quotes.
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?
Avatar of tinouye

ASKER

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.

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..
Avatar of tinouye

ASKER

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.
Avatar of tinouye

ASKER

Ah! after more testing I've found it only happens in Hotmail.  Works fine in outlook.

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...
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.
ASKER CERTIFIED SOLUTION
Avatar of tinouye
tinouye

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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...
Avatar of tinouye

ASKER

The issue is still outstanding. A note has been sent to Microsoft.  Apparently there are no Microsoft experts on this forum.