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

Plaintext "Verify Email address" email has a copy of the CSS and doesn't include the verification URL #23

Open
nomis opened this issue May 15, 2024 · 1 comment

Comments

@nomis
Copy link

nomis commented May 15, 2024

Content-Type: multipart/alternative requires that the content be the same in both text/plain and text/html but the plaintext part is unusable. It would be acceptable to fix this by omitting text/plain and only using text/html content.

Example:

--mk3-ab99c453d534443aacf82ed276fb1e48
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable




   =20
       =20
    Verify Email address

   =20
        .format-font {
            font-family: sans-serif;=20
        }
        .my-container {
            margin: 10px;
            padding: 10px;
            padding-top: 0px;
            justify-content: center;
            border-radius: 5px;
            border: 1px solid rgb(204, 203, 203);
        }

        .my-button {
            padding: 10px;
            padding-left: 35px;
            padding-right: 35px;
            background-color: rgb(13, 2, 211);
            color: white;
            border-radius: 25px;
            transition-duration: 500ms;
            text-decoration: none;
           =20
        }
        .my-button:hover {
            color: rgb(13, 2, 211);
            background-color: white;
            border-radius: 0px;
            border: 1px solid rgb(13, 2, 211);
            transition-duration: 200ms;
        }

   =20



   =20

       =20
           =20
                Account Activation
           =20
       =20

        E-mail Confirmation=20

       =20
            Greetings!
            You received this mail because someone created an account with =
this address,=20
            Please click on the link below to confirm the email and activat=
e your account.      =20
       =20

       =20
            Please verify your e-mail :
           =20
           =20
                Verify
           =20
           =20
       =20
   =20
       =20
            You'll be able to login right after the verification !
       =20
   =20
       =20
   =20
  =20


--mk3-ab99c453d534443aacf82ed276fb1e48
@sammachin
Copy link
Contributor

This is coming from the Django Auth modules so would need to be raised/fixed there https://docs.djangoproject.com/en/5.0/ref/contrib/auth/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants