I am writting the following code to send email:
Dim smtpC As New System.Net.Mail.SmtpClient("smtp.gmail.com", 587)
Dim message As New System.Net.Mail.MailMessage("firstname.lastname@example.org", "email@example.com", "gopunjabi.com", "hi")
smtpC.Credentials = New System.Net.NetworkCredential("firstname.lastname@example.org", "mypassword")
You should look into the help provided in Google to setup Gmail Account with an Email Client. I believe the SMTP port number for SSL is different than the default (25). Check it and try to use that port number while sending email through gmail. But I am not sure where you could send emails through Google's SMTP server.
Castle Rider What if I freeze??? Don't forget to breath...
GMAIL SMTP Server requires an authentication in the form of username and password.
The reason, it is giving you this error message is because you have set UseDefaultCredentials to false.
Just set this to true, and it should work like a charm.
Conceptually, should not be a whole lot different. If I recall, ODP.NET is just about as straightforward as ADO.NET. Been a while since I've done anything Oracle-wise. You may be better off telling the interviewer that you come from the SQL Server side, and are researching (expanding your knowledge) other databases such as Oracle, and other databases. If the gig is meant to be for you, they will appreciate your honesty and hopefully see that you are someone who is willing to learn new things on the job.
Good luck with your interview
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
If i click the log out button then it'll go to default page.But if i copy the link name of that page and paste that means it'll automatically goes to the corresponding page.I dont know how do clear that and how to overcome this?
If any one know this plz help...
Last Visit: 31-Dec-99 18:00 Last Update: 27-Jul-21 12:50