sancho mail: added config for haeder/footer image path, renamed custom mail config entries to sancho mail config entries, images are always attached inline (when using Code Igniter)

This commit is contained in:
Alexei Karpenko
2025-01-20 16:24:56 +01:00
parent 899c36c52c
commit e65322965f
4 changed files with 43 additions and 23 deletions
+6 -3
View File
@@ -34,10 +34,13 @@ $config['validate'] = false; // If true then the email address will be validated
$config['enable_debug'] = false;
// If to use images for custom mails
$config['custom_mail_use_images'] = CUSTOM_MAIL_USE_IMAGES;
$config['sancho_mail_use_images'] = SANCHO_MAIL_USE_IMAGES;
// image path for sancho mail, relativ to document root
$config['sancho_mail_img_path'] = SANCHO_MAIL_IMG_PATH;
// header image for custom mails
$config['custom_mail_header_img'] = CUSTOM_MAIL_HEADER_IMG;
$config['sancho_mail_header_img'] = SANCHO_MAIL_HEADER_IMG;
// footer image for custom mails
$config['custom_mail_footer_img'] = CUSTOM_MAIL_FOOTER_IMG;
$config['sancho_mail_footer_img'] = SANCHO_MAIL_FOOTER_IMG;