문제

I was trying to open Hotmail (Microsoft Live Mail) and compose a new email via a hyperlink in the web page as following:

<a href="https://mail.live.com/default.aspx?rru=compose&to=email1@mytest.com&cc=email2@mytest.com&Subject=This is a test&Body=This%20is%20a%20test" target="_blank">Hotmail</a>

It opened Hotmail and a new email upon logging in as expected. However, the subject and body that I pre-defined were added twice, as following:

Subject: This is a test,This is a test

Body: This is a test,This is a test

Is it a bug of Hotmail? or something is missing in the query string?

BTW, other email clients, such as Yahoo! Mail and Gmail have no such problems.

Thanks in advance for any helps or hints.

도움이 되었습니까?

해결책

Just had a look and tried it. I got the same result. However I managed to fix it using a lower case 's' in Subject:

https://mail.live.com/default.aspx?rru=compose&to=email1@mytest.com&cc=email2@mytest.com&subject=This%20is%20a%20test&body=This%20is%20a%20test

If you notice, the same goes for Body, this should be body

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top