If you want to send mails via your Gmail/outlook account from your ASP.Net web application, we can use SmtpClient and MailMessage. Step-1 Create instance of MailMessage. Which contains details about mail that you want to send. It includes From, To, CC, BCC, Subject, Attachment, and Mail Body. Step-2 Create instance of SmtpClient. In which we… | Click here to read more.
Many time you need to send mail through php in your site. For this we can use mail() function of php. However it’s mails are send to junk/spam if you are not make proper setting. If you want to send mail through SMTP then you must need to use external library. PHPMailer is one of… | Click here to read more.