-
Here's some old test code that was written to test sending both server and user user attachments to and email. It would use the cid tag to place embedded images in the txt of the email. protected void btnSubmit_Click(object sender, EventArgs e) { int count = 0; if (FileUpload1.HasFile) count++; if...
-
Here's an example of referencing this web service in C# code AsteryxEmailService.EmailService email = new AsteryxEmailService.EmailService(); if (email.SendEmail(from, to, cc, bcc, replyto, subject, body, isbodyhtml, priority, username)) return "SUCCESS!"; else return "FAILED!";
-
here's the Email class... using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; /// <summary> /// Summary description...
-
Here is he EmailFactory class... using System; using System.Web; using System.Web.Services; using System.Web.Services.Protocols; using System.Net.Mail; using System.Configuration; using System.IO; using System.Collections.Generic; using System.Text; public static class EmailFactory { public static bool...
-
This Email Service sends emails using a MailHost specified in the web.config * Set config Environment value to 'DEV' and emails will be sent to ProjectsEmail config value * Set config IsArchived value to 'TRUE' and emails will be BCC to the ArchiveEmail config value public class EmailService...