TransportOutDescription trpOutDesc =
new TransportOutDescription(MailConstants.TRANSPORT_NAME);
// gmail
trpOutDesc.addParameter(new Parameter("mail.smtp.class", TestTransport.class.getName()));
trpOutDesc.addParameter(new Parameter("mail.smtp.host", "smtp.gmail.com"));
trpOutDesc.addParameter(new Parameter("mail.smtp.port", "587"));
trpOutDesc.addParameter(new Parameter("mail.smtp.starttls.enable", "true"));
trpOutDesc.addParameter(new Parameter("mail.smtp.user", "synapse.test.1"));
trpOutDesc.addParameter(new Parameter("mail.smtp.from", "synapse.test.1@gmail.com"));
trpOutDesc.addParameter(new Parameter("mail.smtp.password", "mailpassword"));
trpOutDesc.addParameter(new Parameter("mail.smtp.auth", "true"));