Example usage for org.springframework.mail.javamail MimeMessagePreparator toString

List of usage examples for org.springframework.mail.javamail MimeMessagePreparator toString

Introduction

In this page you can find the example usage for org.springframework.mail.javamail MimeMessagePreparator toString.

Prototype

public String toString() 

Source Link

Document

Returns a string representation of the object.

Usage

From source file:nl.surfnet.coin.shared.service.impl.MockMailService.java

/**
 * Logs the mail message//from  ww  w  . j  a  v a2s  .  co  m
 */
@Override
public void sendAsync(final MimeMessagePreparator preparator) throws MailException {
    logger.info("Sending mail\n:" + preparator.toString());
}