A question

06/25/2013 21:21 ►™SuperE™◄#1
Hey guys, I am making a program for CO2 (not a hack) in visual basic 2012, I made report for bugs form and here's the code for it to send an e-mail, using g-mails.
PHP Code:
            Dim Mail As New MailMessage
            Mail
.Subject sbjt.Text
            Mail
.To.Add(eml.Text)
            
Mail.From = New MailAddress(fml.Text)
            
Mail.Body body.Text

            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
eml = My g-mail
fml = User's g-mail (textbox)
sbjt = subject textbox
body = report information richtextbox
, I get this message in this line
[Only registered and activated users can see links. Click Here To Register...]
Help will be really appreciated
06/26/2013 03:14 pro4never#2
You're using an authenticated mail port using blank login information. It should be your correct login information for the gmail account.

You should also verify beforehand that their mail server is accepting the login credentials properly (aka set it up in a standard mail client and test your settings before using them in any coding)
06/26/2013 03:34 go for it#3
[Only registered and activated users can see links. Click Here To Register...]
06/26/2013 08:01 Super Aids#4
I would suggest not doing this if you're planning to put it in your client. Since they can get your mail account from the program.
06/26/2013 11:56 ►™SuperE™◄#5
Quote:
Originally Posted by pro4never View Post
You're using an authenticated mail port using blank login information. It should be your correct login information for the gmail account.

You should also verify beforehand that their mail server is accepting the login credentials properly (aka set it up in a standard mail client and test your settings before using them in any coding)
tried doing that and used a real g-mail address to send to my e-mail, this error doesn't appear, but the form freezes and stops responding ._.
06/26/2013 18:51 pro4never#6
Quote:
Originally Posted by Super Aids View Post
I would suggest not doing this if you're planning to put it in your client. Since they can get your mail account from the program.
Indeed. Should be server side handling of bug reports either through a command or other program client side.
06/26/2013 19:20 Super Aids#7
An alternative could be sending a packet from the program to the server.
06/26/2013 20:14 pro4never#8
Quote:
Originally Posted by Super Aids View Post
An alternative could be sending a packet from the program to the server.
Quote:
Originally Posted by pro4never View Post
... or (from) other program client side.

<3?