Σ Sigma Hosting is mainly a video tutorial website

Σ Sigma Hosting is mainly a video tutorial website that make it easier for you to search within the transcript of videos for solutions of problems you might face during your journey in dealing with different webhosting companies. So, we are very sorry if the text is not well organized and we may work on it in the future but for now we hope you get the benefit mainly from the video then you may need to have a look on the transcript. Thanks for your understanding 🙂

hello friends in this video I will show you how to send an email from a contact page on GoDaddy hosting I'm using asp.net she shocker code will be given in the below description step by step first this is my contact page at the name Jack and hoes and servers at gmail.com this is a testament GoDaddy SMTP sending bitch sent ten short emails will get back as soon as possible which means the mail has been reserved let's open the gory email check the mail is rasul or not right now i am in a good adi website i'm signing right now I'm in my products page box with email click manage launch so this is the male Vicent and opening and the message we have sent see this is the message we have sent now let's go back to the programming point what namespaces we have to input now we are in the programming part this is a quote I have used on my website to send emails from a contact page Oren's should be remember you must import system dotnet and system dotnet dot mel these two names versus must be input and unbutton click event you need to write this code remember SMTP client is relay – hosting that secure server dotnet and the port number is 25 this is the host and port number for GoDaddy SMTP to send any emails and then and the other thing is credentials the system dotnet dot network credentials takes two parameters one is your GoDaddy email username and the garadi email password that's it and this code will be available in the description thank you and please subscribe my channel .

Video Discription

#emailcsharp #smtpemail #asp.net
Now ! send eMails from your website on GoDaddy hostings, the code is given below…

Godaddy SMTP host :- relay-hosting.secureserver.net
PORT :- 25

NAMESPACES

using System.Net;
using System.Net.Mail;

CODE

MailMessage msg = new MailMessage();
msg.From = new MailAddress(TxtEmail.Text);
msg.To.Add("contact@hostandservers.com");
msg.Subject = TxtSub.Text;
msg.Body = TxtMsg.Text;
msg.IsBodyHtml = true;
// MailMessage instance to a specified SMTP server
SmtpClient smtp = new SmtpClient("relay-hosting.secureserver.net", 25);
smtp.Credentials = new System.Net.NetworkCredential("yourgodaddyemailusername, "godaddyemailpassword");
smtp.EnableSsl = false;

// Sending the email
smtp.Send(msg);
// destroy the message after sent
msg.Dispose();
LitMsg.Text = "Thanks for email us.. will get back ASAP..!";
TxtEmail.Text = "";
TxtMsg.Text = "";
TxtSub.Text = "";
TxtName.Text = "";

 

Leave a Reply