Skip to content

Instantly share code, notes, and snippets.

I am attesting that this GitHub handle sebcreme is linked to the Tezos account tz1Thgujry2fVmNPdyW8QUwGUEeS88kvPN8u for tzprofiles
sig:edsigtZbPod8CSjG3pALA451CbSWuo2GhauNSPigyWXVC3mkoMEqmQmQr3pDVXYAAUPDorThv944onoFCovaRfGFANE5HdqoMmw
# Or, specify mail host configuration
mail.smtp.host=smtp.gmail.com
mail.smtp.user=scr@zenexity.fr
mail.smtp.pass=demotest
mail.smtp.channel=ssl
<h1>Welcome ${name ?: 'John Doe'}</h1>
<p>you can search on <a href="http://google.com">google</a></p>
<footer>Copyright -- ${name ?: 'John Doe'} -- ${new Date().format("dd/MM/yyyy")}</footer>
package mails;
import play.*;
import play.mvc.*;
import java.util.*;
import models.*;
public class Mails extends Mailer {
import java.util.*;
import java.io.*;
import javax.mail.*;
import javax.mail.internet.*;
import javax.activation.*;
public class Mailer {
public static void main(String[] args) throws IOException {
/**
* Copyright (c) 2007-2010 Eric Torreborre <etorreborre@yahoo.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
* and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of
* the Software. Neither the name of specs nor the names of its contributors may be used to endorse or promote