Hey CD, So I've another little bug.. the emails are being sent out fine, except that html posts are being sent as text, so you're seeing the html tags..
Was wondering if anything could be done about that,, or is it a vanilla thing..
Solution! I just added the line of code at the bottom to config.php. Worked like a charm. All credit goes @vrijvlinder
@vrijvlinder said:
dcrickmore , in forum/library/vendors/phpmailer.php it advices to use this Sets message type to HTML it contains lots of good ideas.
>
> public function IsHTML($ishtml = true) {
> if ($ishtml) {
> $this->ContentType = 'text/html';
> } else {
> $this->ContentType = 'text/plain';
> }
> }
>
Hi Cdavid
EmailSubscribe: >>> How can i make this a default, and let the Member have to unsubscribe.
" Notify me when people start new discussions "
EMailDiscussion: >>> How can i send " Discussion Title " with this message I have tried over the last few days but I now give up.
I'm trying to learn but oh! so hard
Denis
Sorry, to which file do we add the code? I don't see config.php in the EmailSubscribe plug-in folder. Should we add the code to configuration.php in the applications\vanilla folder?
Do we also need to add $Configuration['Garden']['Email']['MimeType']= 'text/html'; to the same file, or is it one or the other as the solution?
Comments
/cd
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •S.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Actually it's sending this, is their anyway to maybe just disable codes?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I take it no one has resolved this? I'm looking for a solution as I don't know PHP well enough to figure it out myself :(
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Solution! I just added the line of code at the bottom to config.php. Worked like a charm. All credit goes @vrijvlinder
> > public function IsHTML($ishtml = true) { > if ($ishtml) { > $this->ContentType = 'text/html'; > } else { > $this->ContentType = 'text/plain'; > } > } >- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Hi Cdavid EmailSubscribe: >>> How can i make this a default, and let the Member have to unsubscribe.
" Notify me when people start new discussions " EMailDiscussion: >>> How can i send " Discussion Title " with this message I have tried over the last few days but I now give up. I'm trying to learn but oh! so hard Denis
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Hi @dcrickmore:
Sorry, to which file do we add the code? I don't see config.php in the EmailSubscribe plug-in folder. Should we add the code to configuration.php in the applications\vanilla folder?
Do we also need to add $Configuration['Garden']['Email']['MimeType']= 'text/html'; to the same file, or is it one or the other as the solution?
Thanks very much!
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •no ,
$Configurations go in the conf/config.php you would add that in there
|̲̅̅●̲̅̅|̲̅̅=̲̅̅|̲̅̅●̲̅̅| - ☊ - ♫ ♪ ♪ ♫ ♩ ♬ ♬ ♮ ♯ ♫ ♪ ♪ ♫ ♩ ♬ ♭ ....... (•̪●)(•̪●)
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •