Email sender safe

If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
8 posts Page 1 of 1
Contributors
User avatar
KraZy
Top Poster
Top Poster
Posts: 93
Joined: Sat May 26, 2012 8:40 am

Email sender safe
KraZy
It would be possible to create an email sender that does not take in the application code the password and the user's credentials?
In particular I would like to create an email sender that leverages the method SmtpClient.SendAsync for not going to block the program when sending mail.
I'm in the empire business.
User avatar
comathi
Coding God
Coding God
Posts: 1242
Joined: Fri Mar 26, 2010 1:59 pm

Re: Email sender safe
comathi
Well you could always include a few TextBoxes that ask for the user's account information instead of hard-coding it... that would be safer for sure.

If you mean sending mail without specifying any account information, I don't think that's possible at all with any of the major email providers.
User avatar
KraZy
Top Poster
Top Poster
Posts: 93
Joined: Sat May 26, 2012 8:40 am

Re: Email sender safe
KraZy
comathi wrote:
Well you could always include a few TextBoxes that ask for the user's account information instead of hard-coding it... that would be safer for sure.

If you mean sending mail without specifying any account information, I don't think that's possible at all with any of the major email providers.
So you're saying that some software companies that implement forms of assistance in their applications have added the credentials of their email in the software?
This would put at risk all the time.
I'm in the empire business.
User avatar
comathi
Coding God
Coding God
Posts: 1242
Joined: Fri Mar 26, 2010 1:59 pm

Re: Email sender safe
comathi
I'm not sure I know what you're talking about... :?
User avatar
visualtech
VIP - Donator
VIP - Donator
Posts: 265
Joined: Sat Nov 19, 2011 2:19 pm

Re: Email sender safe
visualtech
Wrong #KraZy, they send the data ENCRYPTED to their web servers, which send the email; since the scripts are server-side, there is NO chance of leaking the source!

However, you can use SMTP, etc. (as #comathi correctly pointed out) to send validated and authenticated emails from your .NET application. Its pretty easy, too!

But, you CAN send email without giving ANY detail what-so-ever. You can spoof the "X-FROM" flag, which'll trick the system into thinking that its a valid email, however its not; most emails like this, are tagged "spam"; however there are other methods which you can use for that, but are miles away from the scope of this reply.

Any help? Skype: chris.harrison367 or PM me! :)
Image
User avatar
smashapps
Coding Guru
Coding Guru
Posts: 961
Joined: Tue Apr 05, 2011 8:41 am

Re: Email sender safe
smashapps
If you have your own web server I would upload information encrypted and decrypt it server side, use PHP to send the mail too. I dont think many businesses would use SMTP purely
My name is Tom | Visit my blog where I post new content every day! Tom's Daily Blog | MineCraft is awesome!
User avatar
KraZy
Top Poster
Top Poster
Posts: 93
Joined: Sat May 26, 2012 8:40 am

Re: Email sender safe
KraZy
I created an email sender who has access credentials in the code, but these credentials are encripted using an encryption key.
In addition, the code is obfuscated with smart assembler so if I haven't made the maximum protection, I still greatly hindered the possible hack, don't you think?
I'm in the empire business.
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4389
Joined: Tue Aug 04, 2009 1:47 am

Re: Email sender safe
CodenStuff
KraZy wrote:
I created an email sender who has access credentials in the code, but these credentials are encripted using an encryption key.
In addition, the code is obfuscated with smart assembler so if I haven't made the maximum protection, I still greatly hindered the possible hack, don't you think?
Good idea to encrypt and protect - nothing is 100% hack proof though.

You should also use a disposable email account then if it does get hacked you can just update your software with a new one and no harm done.
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
8 posts Page 1 of 1
Return to “Coding Help & Support”