RobyDx Posted May 2, 2005 Posted May 2, 2005 I'm writing a windows app that send email. It' an extreme easy application, I just write MailMessage msg = new MailMessage(); msg.From = "myEmailAddress"; msg.To = "destinationEmailAddress"; msg.Subject = "subject"; msg.Body = "body"; msg.Attachments.Add(new MailAttachment("attachment")); SmtpMail.SmtpServer="smtpServer"; SmtpMail.Send(msg); no login, no password. Why? In this way I can send email from a email address of another person. What's the conseguences of this? Can I have problem from my host? My Application is finished but I don't want to have problem for using my email from an application like this one. Can you help me? Quote Come to visit
kejpa Posted May 2, 2005 Posted May 2, 2005 no login, no password. Why? In this way I can send email from a email address of another person. What's the conseguences of this? Can I have problem from my host? Hi Roby, yes, most smtp-mailservers do not require you to log in. However most servers don't accept sending mail from a different domain than you're logged in to and somehow you're logged in to some domain (or you wouldn't be on the internet) Some servers require valid from addresses, most however do not. And it's not just your app that's offering this option to forge the sender, all (?) mail programs have options to set the sending name and address. It's not hard to trick people to believe that the sender is Bill Gates, or Kofi Annan, or the Pope if you wish. However, your IP-address will always show from where the mail was sent.... HTH /Kejpa Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.