Affichage des articles dont le libellé est Re: Modifying EmailTemplates.english.php template. Afficher tous les articles
Affichage des articles dont le libellé est Re: Modifying EmailTemplates.english.php template. Afficher tous les articles

Re: Modifying EmailTemplates.english.php template

samedi 28 février 2015

No, you need to have this



Code: [Select]

function sendmail($to, $subject, $message, $from = null, $message_id = null, $send_html = false, $priority = 3, $hotmail_fix = null, $is_private = false)

{

$send_html = true;


[code]function AddMailQueue($flush =...



Re: Modifying EmailTemplates.english.php template

Re: Modifying EmailTemplates.english.php template

Ok this is what I have actually:



Code: [Select]

function sendmail($to, $subject, $message, $from = null, $message_id = null, $send_html = true, $priority = 3, $hotmail_fix = null, $is_private = false)



[code]function AddMailQueue($flush = false, $to_array...



Re: Modifying EmailTemplates.english.php template

Re: Modifying EmailTemplates.english.php template

vendredi 27 février 2015

Thanks Margarett.



I will try this and let you know how it works.



Illori, yes that is also true, but from my understanding of marketing, you have a higher response rate with HTML.



I might try both option and let you know how it turns out.







Re: Modifying EmailTemplates.english.php template

Re: Modifying EmailTemplates.english.php template

also some html emails automatically get considered spam and that can cause other issues.



Re: Modifying EmailTemplates.english.php template

Re: Modifying EmailTemplates.english.php template

I never really did this but, looking at the code, if you change this

Code: [Select]

function sendmail($to, $subject, $message, $from = null, $message_id = null, $send_html = false, $priority = 3, $hotmail_fix = null, $is_private = false)into

[code]funct...



Re: Modifying EmailTemplates.english.php template

Re: Modifying EmailTemplates.english.php template


Because SMF doesn't really send HTML mails... So your message is html code in plain text ;)




Is there a way to make a small change somewhere to allow this, or is ...



Re: Modifying EmailTemplates.english.php template

Re: Modifying EmailTemplates.english.php template

Because SMF doesn't really send HTML mails... So your message is html code in plain text ;)



Re: Modifying EmailTemplates.english.php template

Re: Modifying EmailTemplates.english.php template

Ok, I have no errors anymore, but I don't receive a formated message. :-(



This is what I receive as a message


Quote


<table width="100%" border="0"><tr><td width="10%"> <align = "top"><img src="Images/main_51_69_Registration_CandS.png" /></td><td widt...








Re: Modifying EmailTemplates.english.php template

Re: Modifying EmailTemplates.english.php template

Thanks



Corrected.



Re: Modifying EmailTemplates.english.php template
 

Lorem

Ipsum

Dolor