Re: [VB.NET] Gmail Sender
Look great. But it's needs to login every time i want to send an email ?
Re: [VB.NET] Gmail Sender
Re: [VB.NET] Gmail Sender
Quote:
Originally Posted by
BasmosD
Look great. But it's needs to login every time i want to send an email ?
No no. It uses Gmail STMP.
Re: [VB.NET] Gmail Sender
Quote:
Originally Posted by
xBlessingx
No no. It uses Gmail STMP.
That does not answer the question.
Re: [VB.NET] Gmail Sender
Well I think so. It uses this code:
PHP Code:
Dim Mail As New MailMessage
Mail.Subject = "test email"
Mail.To.Add("youremail@googlemail.com")
Mail.From = New MailAddress("youremail@googlemail.com")
Mail.Body = "This is an ownage email using VB.NET"
Dim SMTP As New SmtpClient("smtp.gmail.com")
SMTP.EnableSsl = True
SMTP.Credentials = New System.Net.NetworkCredential("username", "password")
SMTP.Port = "587"
SMTP.Send(Mail)
Re: [VB.NET] Gmail Sender
You need to enter your Gmail email and pass every time correct? If so, you should make it so it saves it..
Re: [VB.NET] Gmail Sender
Re: [VB.NET] Gmail Sender
Re: [VB.NET] Gmail Sender
Yes you will have to log in everytime, what he should have done is made a config.ini file with the email and password that way u can just set it and it will read the config everytime.
Re: [VB.NET] Gmail Sender
You should have the ability to set the email and password when you first open it. Then it should save them so you can quickly send emails. Otherwise it might be a hassle to some to enter their login details every time.
Re: [VB.NET] Gmail Sender
I could do that if you guys want, but you will need to download a new one.