edmondwch Posted February 7, 2009 Share Posted February 7, 2009 Hi Everybody, I have modified my new users welcome email in the catalog/create_account.php as below: . . . $email_text .= tep_image('http://www.abc.com/images/' . 'header_abc.gif', 'abc shop', '830','116' , ) . EMAIL_WELCOME . EMAIL_USERNAME . EMAIL_PASSWORD . EMAIL_TEXT . EMAIL_CONTACT . EMAIL_WARNING; tep_mail($name, $email_address, EMAIL_SUBJECT, $email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); . . . so when new users registered, they will recieve the welcome email. In the email, it will show the "abc.gif" at the top, but now I would like that when users click the picture, it will link to abc.om, so how should I modify the code? Pls help me, thx. I have tried these before as below but it seems it is wrong: . . . $email_text .= <?php echo '<a href="' . tep_href_link 'abc.com') . '">' . tep_image('http://www.abc.com/images/' . 'header_abc.gif', 'abc shop', '830','116') . '</a>'; ?> . EMAIL_WELCOME . EMAIL_USERNAME . EMAIL_PASSWORD . EMAIL_TEXT . EMAIL_CONTACT . EMAIL_WARNING; tep_mail($name, $email_address, EMAIL_SUBJECT, $email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); . . . Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.