Package com.atlassian.jira.mail

Examples of com.atlassian.jira.mail.Email



            Map<String,Object> context = newHashMap(options.getContext());
            context.put("toFullName", toName);

            Email email = new Email(toEmail);
            email.setFromName(options.getFromName());
            email.setFrom(options.getFromEmail());
            email.setSubject(render(options.getSubjectTemplate(), context));
            email.setBody(render(options.getBodyTemplate(), context));

            if (options.getReplyToEmail() != null)
            {
                email.setReplyTo(options.getReplyToEmail());
            }

            SingleMailQueueItem item = new SingleMailQueueItem(email);
            item.setMailThreader(null);
            ManagerFactory.getMailQueue().addItem(item);
View Full Code Here

TOP

Related Classes of com.atlassian.jira.mail.Email

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.