/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.uks.tickets.service;

import com.uks.tickets.model.Event;
import com.uks.tickets.model.Order1;
import com.uks.tickets.model.User;
import javax.mail.MessagingException;
import javax.naming.NamingException;

/**
 *
 * @author Borko
 */
public interface EmailService {
    public String sendEmailConfirmation(User user);
    public String sendOrderConfirmation(Order1 order);
    public String sendResetPWD(User user);
    public String contactFormEmail(String name, String email, String msg);
    public boolean sendEventRecommend(User user,Event event,User receiver);
    public void sendEmail(String msgBody, String subject, String emailTo, String emailFrom) throws NamingException, MessagingException;
}
