I made this generic static class which I can call from anywhere in my app. Of
course
you need the JavaMail library.
import java.util.Date;
import java.util.Properties;
import javax.mail.*;
import javax.mail.internet.*;
public class Send {
private static final String smtpServer = "local
Jakarta commons-email is your friend
http://jakarta.apache.org/commons/email/examples.html
C.F. Scheidecker Antunes wrote:
Hello all,
I need to email a simple text message from within an action.
I've tried creating a class using javax.mail.* and
javax.mail.internet.* classes but without su
Hello all,
I need to email a simple text message from within an action.
I've tried creating a class using javax.mail.* and javax.mail.internet.*
classes but without success.
I wonder if there is any simple recipe for that.
Thanks,
C.F.
3 matches
Mail list logo