Malformormed URL in some email

In some mail the url is http://myhostname.com

But we used https.

how can I set up this ?

In some mail the url is http://myhostname.com

But we used https.

how can I set up this ?

Make sure all Web* options from the config are set and generated
correctly. Use System Configuration page from Admin interface.

Best regards, Ruslan.