All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.lightningkite.lightningserver.email.EmailApproximatePlainTextKtTest.kt Maven / Gradle / Ivy

The newest version!
package com.lightningkite.lightningserver.email

import com.lightningkite.lightningserver.HtmlDefaults
import com.lightningkite.lightningserver.settings.generalSettings
import kotlinx.coroutines.runBlocking
import org.junit.Assert.*
import org.junit.Test

class EmailApproximatePlainTextKtTest {
    @Test
    fun test(): Unit = runBlocking {
        println(HtmlDefaults.baseEmail("""
            
            ${
            HtmlDefaults.logo?.let {
                """
                    
                """.trimIndent()
            } ?: ""
        }
            
PROJECT

Log In to PROJECT

We received a request for a login email for [email protected]. To log in, please click the link below or enter the PIN.

Click here to login

PIN: 123456

If you did not request to be logged in, you can simply ignore this email.

PROJECT

""".trimIndent()).emailApproximatePlainText()) } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy