1
Answer

mail send without password needs

bas karan

bas karan

12y
1.5k
1
hi i am using the concept of sending email through asp.net on click of  button.but i hv to give the email id only  not with the password to send the email.Is there any way of sending the email without giving the user password of email for write to us concept
Answers (1)
0
Shivanand Arur

Shivanand Arur

NA 4.9k 745.3k 12y
Hello Karan, When you send an email in asp.net it is compulsory to provide your credentials (email id and password). So when you send the email, asp.net checks whether your credentials are proper and if they are then it allows you to send the mail. 

Once you send an email using asp.net only your Email-ID, Subject line and the Body with any attached document(if any) is sent... There is nothing to worry about providing your password, since your password is not being sent anywhere...

In short, if you want to send a mail in asp.net then you have to provide your credentials. Hope this is what you wanted to know. Please let me know if you have any doubts.

Thank you.
Please mark the answer as accepted if it helped!!!