Package com.atlassian.labs.speakeasy.product

Examples of com.atlassian.labs.speakeasy.product.EmailOptions


            return;
        }
        String pluginAuthor = extension.getAuthor();
        if (pluginAuthor != null && userManager.getUserProfile(pluginAuthor) != null)
        {
            productAccessor.sendEmail(new EmailOptions()
                    .toUsername(pluginAuthor)
                    .subjectTemplate("email/" + feedbackType + "-subject.vm")
                    .bodyTemplate("email/" + feedbackType + "-body.vm")
                    .replyToEmail(sender.getEmail())
                    .context(new HashMap<String, Object>()
View Full Code Here


                    {
                        suggestedExtensions.add(plugin);
                    }
                }
            }
            productAccessor.sendEmail(new EmailOptions()
                    .toUsername(pluginAuthor)
                    .subjectTemplate("email/favorited-subject.vm")
                    .bodyTemplate("email/favorited-body.vm")
                    .context(new HashMap<String, Object>()
                    {{
View Full Code Here

                {
                    UserProfile profile = userManager.getUserProfile(userName);
                    return profile != null ? profile.getFullName() : userName;
                }
            };
            productAccessor.sendEmail(new EmailOptions().toUsername(pluginAuthor).subjectTemplate("email/forked-subject.vm").bodyTemplate("email/forked-body.vm").context(new HashMap<String, Object>()
            {{
                    put("plugin", extension);
                    put("userResolver", resolver);
                    put("forkedPlugin", extensionManager.getExtension(forkedPluginKey));
                    put("forkerFullName", userFullName);
View Full Code Here

                        suggestedExtensions.add(plugin);
                    }
                }

            }
            productAccessor.sendEmail(new EmailOptions()
                    .toUsername(pluginAuthor)
                    .subjectTemplate("email/enabled-subject.vm")
                    .bodyTemplate("email/enabled-body.vm")
                    .context(new HashMap<String, Object>()
                    {{
View Full Code Here

TOP

Related Classes of com.atlassian.labs.speakeasy.product.EmailOptions

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.