Tag: sending email with spring classes

SMTP

Why do I get "'property cannot be assigned" when sending...

mail.To and mail.From are readonly. Move them to the constructor.