I’m trying to include an image in the confirmation email when a new user add themselves through the New User option. But when the email arrives, the image is missing. When I look at the source code of the mail, I see the image reference but it’s not displayed. If I echo $mail_message and exit after it’s set, the image displays in the echo command.
Here is the code I have:
$mail_image = ‘<img src="…/…/MySite/_lib/img/grp__NM__img__NM__Drawing.png">’;
{lang_send_actcode_newuser} = $mail_image . {lang_send_actcode_newuser};
$mail_message = sprintf({lang_send_actcode_newuser}, {name}, $message);
$mail_subject = {lang_subject_new_user};
$mail_format = ‘H’; // Message format: (T)ext or (H)tml
// Send email
sc_mail_send($mail_smtp_server,
$mail_smtp_user,
$mail_smtp_pass,
$mail_from,
$mail_to,
$mail_subject,
$mail_message,
$mail_format,
‘’,’’, ‘465’, ‘S’);
Any thoughts on how to get the image to display?