send email without authentication? ( without username, pass)

Pokemon

New member
Joined
Jan 7, 2021
Messages
2
Programming Experience
1-3
hi all, did anyone know how to code vb.net to send email thru application without username and password, my previous developer developed vb.net application and saved into server, linked to user pc. once user click on the button at the exe, it will auto send emails. as the code went missing, need to write back the code. all the users have different credentials username and password.

did anyone know how to do it ?
 

jmcilhinney

VB.NET Forum Moderator
Staff member
Joined
Aug 17, 2004
Messages
14,577
Location
Sydney, Australia
Programming Experience
10+
Sending an email without credentials is exactly the same as sending email with credentials, except you don't provide credentials. There's nothing extra to do. If you know how to send an email with credentials then you already have all you need. If you don't know how the check the documentation for the MailMessage class or the SmtpClient class, both of which provide examples.
 

Pokemon

New member
Joined
Jan 7, 2021
Messages
2
Programming Experience
1-3
Sending an email without credentials is exactly the same as sending email with credentials, except you don't provide credentials. There's nothing extra to do. If you know how to send an email with credentials then you already have all you need. If you don't know how the check the documentation for the MailMessage class or the SmtpClient class, both of which provide examples.
Thank you so much, i will google about it. Have a nice day
 
Top Bottom