Project Description
This is a DLL usefull to send e-mails using GMail.
This DLL also zip the attachments and is easy to use without SMTP configuration.
This DLL is developed using Microsoft C# (CS) .Net with .Net Framework 2.0
You can use this DLL (i.e. in C#) declaring it like above:
using GmailSend;
gmail mensagem = new gmail();
mensagem.auth("mailto@domain.com", "password");
mensagem.assunto = "Aqui esta o Assunto";
mensagem.mensagem = "Aqui Está a Mensagem";
mensagem.To = "destino@dominio.qqcoisa";
mensagem.To = "destino2@dominio.qqcoisa";
mensagem.Cc = "teste@123.com";
mensagem.Cc = "teste2@123.com";
mensagem.Bcc = "hide@cool.com";
mensagem.Bcc = "hide2@cool.com";
mensagem.Priority = 1;
mensagem.Attach = @"c:\abc.txt";
mensagem.Attach = @"c:\bcd.sql";
mensagem.zip("nomedoficheiro.zip", "password");
mensagem.send();
This project source has a Visual Studio 2010 project, and use Ionic.Utils.Zip DLL to create the zip attachments (+ info: http://dotnetzip.codeplex.com/).
More info at my Blog: http://blog.danielcosta.pt