Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emails have broken content - mix of HTML/Plaintext #776

Closed
ian76g opened this issue May 19, 2018 · 7 comments
Closed

emails have broken content - mix of HTML/Plaintext #776

ian76g opened this issue May 19, 2018 · 7 comments
Assignees
Milestone

Comments

@ian76g
Copy link

ian76g commented May 19, 2018

my admidio just sends broken emails:

To: "xxxxx" admidio@pordi.de
From: "Sebastian Köhler" xxxx@xxxx.de
Reply-To: "Sebastian Admin-Köhler" xxxx@xxxxx.de
Subject: test email
Message-ID: ee276efcee2e017f266f7f17b013d3d5@abcclub.synology.me
X-Mailer: PHPMailer 5.2.26 (https://github.com/PHPMailer/PHPMailer)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-bounce-key: webpack.hosteurope.de;sebastian.koehler@abc-club.de;1526720580;a7581f21;
X-HE-SMSGID: 1fJxlT-00082g-K7

Sebastian hat an die folgenden Empfänger: XXXXX von https://abcclub.synology.me/ folgende E-Mail geschickt:


HTML Email

body {background:#96C4CB;color:#fff;}
.body {font-family:"Trebuchet MS";font-size:11px;color:#fff;}
.body a {color:#fff;}
.body a:hover {text-decoration:none;}

.head {font-size:16px;font-weight:bold;font-family:"Trebuchet MS";color:#fff;}

Mail was sent from Sebastian to: XXXXXX

        Diese Email ist ein Test
    


    
        
            
                
            
            © 2004 - 2018
            Admidio Team
            -
            
                
            
            Nachrichten
            -
            
                
            
            Google+
            -
            
                
            
            Twitter
            -
            
                
            
            Facebook
@Fasse
Copy link
Member

Fasse commented May 22, 2018

Hmm, could not reproduce at https://www.admidio.org/playground

Did you send this as SMTP-Mail or PHP mail() ?

@ian76g
Copy link
Author

ian76g commented May 22, 2018

sent as SMTP Mail via HostEurope.
could only fix this issue by force to send non HTML mails and reducing .html template to
#message#

@Fasse
Copy link
Member

Fasse commented May 22, 2018

Hmm, I have activate SMTP at https://www.admidio.org/playground (Note that debug mode is on and a full log will be shown after you send the mail.

BUT the mail looks ok.

Do you use Mail-Templates?

@ian76g
Copy link
Author

ian76g commented May 22, 2018

standard template

@Fasse
Copy link
Member

Fasse commented May 22, 2018

Ok I think our default template has some problems and should be rewritten.

@Fasse
Copy link
Member

Fasse commented May 27, 2018

Please remove the template.html file. If you want a html template you can create your own.

for the next release we will also remove the template.html so other users will not have automatically a template. Later we will rework our template.

@Fasse Fasse self-assigned this Oct 22, 2020
@Fasse Fasse added this to the v4.0 milestone Oct 22, 2020
@Fasse
Copy link
Member

Fasse commented Oct 22, 2020

This problem is fixed with version 4. There everyone can use a template and we deliver also default templates. So you can easily create a text only template.

@Fasse Fasse closed this as completed Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants