Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
3 votes
1 answer
173 views

Mail Client - Displaying email details for selected JTable Row

I'm trying to write a very simple IMAP email client in Java. There is one table per account with multiple multiline rows. The last selected row of one of the tables should be displayed in an extra ...
Tobias Grothe's user avatar
0 votes
1 answer
80 views

Evaluate my program with Java Mail + Sql + Swing

I'm 16 years old and no one to help me, no one to give any advice or constructive criticism, I'm aimless. I'll leave the link to my last code (github), a program that sends an email to everyone ...
Davi Ribeiro's user avatar
2 votes
1 answer
157 views

program that sends an email to everyone registered in the database

I'm 16 years old and no one to help me, no one to give any advice or constructive criticism, I'm aimless. I'll leave the link to my last code (github), a program that sends an email to everyone ...
Davi Ribeiro's user avatar
3 votes
1 answer
112 views

How can I implement the SMTP protocol better in my Server and Client “SMTP” code?

I've been assigned a tast to implement an SMTP client-server protocol providing limited functionality and the Solution for this is to execute a typical execution simiilar to this transcription: ...
Jimmy665566's user avatar
2 votes
0 answers
41 views

Collect messages from a job to send in body of one email

I have a Spring service that calls a few methods to ...
James's user avatar
  • 289
1 vote
1 answer
734 views

Asynchronous logging using custom log4j appender and ExecutorService

I have a requirement to send emails when certain errors are logged(using log4j 1.2.17). But the SMTP appender sends emails in a synchronized manner. I can not use the AsyncAppender either. So I have ...
Umendra Rajapakshe's user avatar
2 votes
1 answer
1k views

Trimming email address to hide the name

I am looking to hide an email id name, by only showing first 4 letters of the email. The code works fine. Looking for opinion if I could make it better, more readable and maybe even more efficient if ...
Trevor_zam's user avatar
3 votes
1 answer
2k views

Bulk Email notifications in Java?

I have written a service which uses the Java Mail Api to send bulk email notifications to the recipients. I feel that the way I implemented the solution is not really scalable when the number of ...
Rachel's user avatar
  • 31
2 votes
1 answer
1k views

Spring MVC verification email sending service

I have a @Service to send verification emails. Here is the code of the service: ...
mornaner's user avatar
  • 123
9 votes
2 answers
9k views

JavaFX eMail client

I've just finished up a functional emailing client in the Java language. It applies the JavaFX libraries and the ...
Phil C.'s user avatar
  • 163
1 vote
1 answer
3k views

Speeding Up JavaMail Sending

I am creating a miniature bulk email sender. I am using Postfix on Ubuntu with JavaMail. Here is the key part of the code: ...
John Roberts's user avatar
12 votes
5 answers
2k views

E-mail testing code

I made some code to check that e-mails given apply to the right format, and I'm sure there must be a better way to do this. ...
Pablito's user avatar
  • 229
3 votes
4 answers
941 views

Sending templatized e-mail to a million contacts

This code runs fine without a bug, I need to optimize this code for following interview requirement. Lets say i need to send it to 1 million contacts and emailBody is ~100Kb. What code optimization ...
Fido XLNC's user avatar
6 votes
3 answers
11k views

E-mail MIME message parser

As part of a larger Java application I'm working on, I have to retrieve emails and parse the data for the emails' content (subject, date, text, attachments, sender). In the method below, I pass a <...
connorp's user avatar
  • 163
0 votes
1 answer
2k views

JUnit test case to check that an exception of type javax.mail.MessagingException is not thrown

I have a method which will send a text mail using JavaMail API and I am trying to write a test case for this method which will check if an Exception of type ...
Sandeep Chatterjee's user avatar

15 30 50 per page