c# - Preventing Antivirus from saying my gmail winform has virus -
i'm working on basic project winform sends users inputs gmail.
here code:
using system; using system.net.mail; private void button1_click(object sender, eventargs e) { mailmessage mail = new mailmessage(); smtpclient smtpserver = new smtpclient("smtp.customsmtp.com"); mail.from = new mailaddress("fromemail@fromemail.com"); mail.to.add("toemail@toemail.com"); mail.subject = "new survey answer"; mail.body = "answer 1:" + textbox1.text + "answer2:" + textbox2.text + "answer3": + textbox3.text; smtpserver.send(mail); }
the problem when run .exe
file of program antivirus believes program kind of virus. there way of preventing this?
you might want talk company producing antivirus , send them copy of exe, can improve product , might gain insight problem is.
Comments
Post a Comment