I have created a vb.net console program (visual studio 2010) that basically takes alert messages from an ms outlook folder and parses the data from the messages in the outlook folder, takes the parsed data and puts in into a csv file and sends the csv file off as an email. The program runs with no issues on my development machine, however when I try and place the .exe on the machine I need to run it on it does not send out the email. I receive the following error in the cmd window.
Unhandled exception: system.argumentsnullexception: Value cannot be null
Parameter name: addresses
at system.net.mail.mailaddresscollection.add(string addresses)
at conelitereorderalerts.modmain.fnmailer(string strattachment)
at con elitereorderalerts.modmain.main
I also tried on another test machine and receive the same error. I get the click here for windows to find a solution but of course nothing happens. Any assistance would be great. Please let me know if I need to provide more detail