1. NEVER include the zenid=xxxxxxxxxxxx in ANY link you post/email/share ..... EVER
(Otherwise you run the risk of multiple customers hijacking others' sessions)
2. If you have ANY customers receiving your emails in TEXT-only format, you probably should only supply the URL as a raw link, and not with the <a href> tags etc ... since text-only emails would show the raw html, making the link ugly and sometimes useless to them.
3. Why are you including <html>, <head>, <body> tags in the middle of an email? HTML-formatted emails will already have those tags, so if you add them again, you will confuse the email client, and end up with odd display results.
Why not just do this:
Code:
define('EMAIL_DETAILS_FOLLOW','The following are the details of your order.' . "\n\n" . 'If there is a problem with your order, please see our return policy, which can be found at this link: ' . "\n" . 'http://qbstore.com/index.php?main_page=shippinginfo');