Our SMTP Server requires authentication before you can send email, but If your ASP or ASP.net script is located on our Web Server, you don't need any SMTP Authentication to send email.
Below is the code examples
using System.Web.Mail;
private void SendEmail(String from,String to,String body,String subject)
{
MailMessage m = new MailMessage();
m.To = to;
m.From = from;
m.Body = body;
m.Subject = subject;
SmtpMail.SmtpServer = "mail.yourdomain.com";
SmtpMail.Send(m);
}
- Главная
-
Магазин
- Просмотреть все
- Linux Shared Hosting Plan
- Linux Cloud Server
- Linux Dedicated Server
- Linux Reseller Web Hosting Plan
- Windows Shared Hosting Plan
- Windows Cloud Server
- Windows Dedicated Server
- Windows Reseller Web Hosting Plan
- Sharepoint Hosting
- VPS Server
- SSL Certificates
- SEO Services
- Email Hosting
- Sitelock
- webhostforasp.net.au
- Зарегистрировать домен
- Перенести домен к нам
- Объявления
- База знаний
- Статус сети
- Партнерство
- Связь с нами
-
Еще