TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Kalyani Shevale
NA
3.2k
704.5k
from IIS and Server and Godaddy Mail Not Seding
Nov 5 2019 12:00 AM
below
code
string
subject =
"Your Password"
;
string
body =
"Password
:
"
+ data
.
password;
//"<b>"+mailInfo
.
Body+" </b><
br
/>" +
lnkHref
;
MailMessage mail =
new
MailMessage
(
);
SmtpClient
SmtpServer
=
new
SmtpClient(
"mail.****.com"
);
mail
.
From =
new
MailAddress(
"
*****@domain.com
"
);
mail
.
To
.
Add
(
EmailId
);
mail
.
Subject = subject;
mail
.
Body = body;
SmtpServer
.
Port = 587;
SmtpServer
.
Credentials =
new
System.Net.NetworkCredential(
"*****@domain.com"
,
"*********"
);
SmtpServer
.
EnableSsl =
false
;
SmtpServer
.
Send
(
mail);
please
provide any
Solution
Reply
Answers (
4
)
concatenating hebrew with number change the order
problem in database