Skip to content

Instantly share code, notes, and snippets.

Manish manish-in-java

  • Gurgaon, India
Block or report user

Report or block manish-in-java

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@manish-in-java
manish-in-java / EmailService.java
Created Mar 8, 2019
SMTP Connection Pooling with Spring
View EmailService.java
import javax.mail.internet.MimeMessage;
import org.nlab.smtp.pool.SmtpConnectionPool;
import org.nlab.smtp.transport.connection.ClosableSmtpConnection;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class EmailService {
You can’t perform that action at this time.