예제 #1
0
        public static void SentAllGuestInvitation(int eventId, string body)
        {
            List <Common.DTO.GuestDto> guestsList = GuestService.GetGuestListByEventId(eventId);

            foreach (var guest in guestsList)
            {
                mailInvetation(guest.guest_email, body, guest.guest_id, eventId);
            }
        }
예제 #2
0
        public static void SentGuestNotConfirmedMail(int eventId, string body, string subject)
        {
            List <Common.DTO.GuestDto> guestsList = GuestService.GetGuestNotConfirmed();

            foreach (var guest in guestsList)
            {
                mailCustom(guest.guest_email, body, subject, eventId);
            }
        }
예제 #3
0
        public static void SentAllGuestC(int eventId, string body, string subject)
        {
            List <Common.DTO.GuestDto> guestsList = GuestService.GetGuestListByEventId(eventId);

            foreach (var guest in guestsList)
            {
                mailCustom(guest.guest_email, body, subject, eventId);
            }
        }