Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,153
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
Introduction
EASendMail is a SMTP component which supports all operations of SMTP/ESMTP protocols (RFC 821, RFC 822, RFC 2554). This tutorial covers everything of sending email with EASendMail in C#.
A simple C# project
Send email over SSL connection
Send email using Gmail account
Send email using Yahoo account
Send email using Hotmail/MSN Live account
Send email directly without SMTP server(MX DNS lookup)
Send HTML email
Send email with attachment
Send email with embedded images
Send email with digital signature (S/MIME)
Email encryption (S/MIME)
Send email with event handler
Send email in asynchronous mode
Send email with multiple threads (Mass Mail)
Total sample projects
Click here to read full tutorial ... If you have any comments or questions about above example codes, please add your comments here.
Edited by user Sunday, April 3, 2011 7:40:04 PM(UTC)
| Reason: Not specified
Rank: Newbie
Groups: Registered
Joined: 5/3/2013(UTC) Posts: 0 Location: India
ivan wrote: Introduction
EASendMail is a SMTP component which supports all operations of SMTP/ESMTP protocols (RFC 821, RFC 822, RFC 2554). This tutorial covers everything of sending email with EASendMail in C#.
A simple C# project
Send email over SSL connection
Send email using Gmail account
Send email using Yahoo account
Send email using Hotmail/MSN Live account
Send email directly without SMTP server(MX DNS lookup)
Send HTML email
Send email with attachment
Send email with embedded images
Send email with digital signature (S/MIME)
Email encryption (S/MIME)
Send email with event handler
Send email in asynchronous mode
Send email with multiple threads (Mass Mail)
Total sample projects
Click here to read full tutorial ... If you have any comments or questions about above example codes, please add your comments here.
Hi,
I am checking " Send email with digital signature (S/MIME)" this article
& unable to write the same way as SmtpMail oMail = new SmtpMail("TryIt"); This is not working for me in .Net Framework 4.0
Can u pls suggest me how to sign my email??
Regards,
Deepthi
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,153
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
Hi, What error did you get? Could you give me more detail?
Rank: Newbie
Groups: Registered
Joined: 1/28/2020(UTC)
Posts: 0
Location: Bangalore
Dear Team,
We are trying EASendMail trail version which we will purchase soon.
When using EASendMail in web application to send email in local host everything works fine.
We deployed this web application to web server. and consumed it from postman, it is working.
However when consumed from another web application we get below error.
System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
What could be the root cause?
from web server we are able consume SMTP with port 443
https://outlook.office365.com/EWS/Exchange.asmx We are using Exchange server to send email.
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,153
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
Originally Posted by: ravi.bhat Dear Team,
We are trying EASendMail trail version which we will purchase soon.
When using EASendMail in web application to send email in local host everything works fine.
We deployed this web application to web server. and consumed it from postman, it is working.
However when consumed from another web application we get below error.
System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
What could be the root cause?
from web server we are able consume SMTP with port 443
https://outlook.office365.com/EWS/Exchange.asmx We are using Exchange server to send email.
https://outlook.office365.com/EWS/Exchange.asmx is used for EWS protocol, in this case, you should use:
Code:
SmtpServer oServer = new SmtpServer("outlook.office365.com");
// Set Exchange Web Service EWS - Exchange 2007/2010/2013/2016/Office365
oServer.Protocol = ServerProtocol.ExchangeEWS;
oServer.User = "myid@mydomain";
oServer.Password = "yourpassword";
// detect SSL/TLS connection automatically
oServer.ConnectType = SmtpConnectType.ConnectSSLAuto;
Forum Jump
EmailArchitect Support
Email Component Development
- EASendMail SMTP Component - .NET Version
- EASendMail SMTP Component - Windows Store Apps
- EASendMail SMTP ActiveX Object
- EAGetMail POP3 & IMAP4 Component - .NET Version
- EAGetMail POP3 & IMAP4 ActiveX Object
Exchange Server and IIS SMTP Plugin
- DomanKeys/DKIM for Exchange Server and IIS SMTP
- Disclaimer and S/MIME for Exchange Server and IIS
EmailArchitect Email Server
- EmailArchitect Email Server (General)
- EmailArchitect Email Server Development
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.