2 Replies - 356 Views - Last Post: 15 February 2013 - 03:07 PM Rate Topic: -----

#1 Doombreker  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 49
  • Joined: 07-July 12

Safe mail - Security problem

Posted 15 February 2013 - 02:18 PM

Hello everyone,

I made a contact form in my application with email so that customers can send emails to me from within the application. The code looks like this:

Dim Mail As New MailMessage
            Mail.Subject = "Contact"
            Mail.To.Add(myemail@example.com)
            Mail.From = New MailAddress(myemail@example.com)
            Mail.Body = TextBox4.Text
            Dim SMTP As New SmtpClient("smpt.gmail.com")
            SMTP.EnableSsl = True
            SMTP.Credentials = New System.Net.NetworkCredential(myemail@example.com, mypass)
            SMTP.Port = "587"
            SMTP.Send(Mail)



But the problem is that I've published the application and minutes after that, the email used in the application got hacked. How do I make this secure so that you won't see the password if you would decrypt the .exe? Or that you can't find out the password in another way?

Is This A Good Question/Topic? 0
  • +

Replies To: Safe mail - Security problem

#2 andrewsw  Icon User is offline

  • It's just been revoked!
  • member icon

Reputation: 3608
  • View blog
  • Posts: 12,399
  • Joined: 12-December 12

Re: Safe mail - Security problem

Posted 15 February 2013 - 02:24 PM

The following link may be useful:

https://www.red-gate.../smartassembly/
Was This Post Helpful? 0
  • +
  • -

#3 LilGhost  Icon User is offline

  • D.I.C Head

Reputation: 8
  • View blog
  • Posts: 98
  • Joined: 12-October 12

Re: Safe mail - Security problem

Posted 15 February 2013 - 03:07 PM

View Postandrewsw, on 15 February 2013 - 02:24 PM, said:

The following link may be useful:

https://www.red-gate.../smartassembly/


I wouldn't use them... they tried to charge me $4000 :dontgetit:

Anyways, take a look at doing this in php and writing the questions to a text file. IF this absolutely must be done with an email (no offence but it seems a bit phisher like to use an email), then make your own string encryption method and encrypt all your strings in your program before you release it.

This post has been edited by LilGhost: 15 February 2013 - 03:07 PM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1