Closed levyj closed 7 years ago
I will look into this error. Have you been able to get DataSync to successfully send email to a different email address (such as your personal address) while still having the same SMTP settings?
I don’t think I have. I just tested with my personal address and got the same thing.
Is there any way to do “Test SMTP Settings” from the command line? My testing is slightly hampered by the fact that I only have the ability to run the GUI on a machine that does not have firewall access to the SMTP server or even the GMail SMTP server. I did manage to get a successful test from that machine to a cityofchicago.org address by putting it temporarily on public access WiFi and using the GMail server settings you have in the documentation. However, on the machine that has firewall access to our SMTP server, I have no GUI so I need to run a DataSync operation I know will fail in order to test. So, there are a number of moving parts and I may have missed something.
I tried to see what I could figure out from your code on GitHub but it seems that you are just passing through an error message from some Java library so I hit a dead end.
Thanks.
Jon
From: Adrian Laurenzi [mailto:notifications@github.com] Sent: Wednesday, January 08, 2014 1:21 PM To: socrata/datasync Cc: Levy, Jonathan Subject: Re: [datasync] Illegal address error when trying to send e-mail (#51)
I will look into this error. Have you been able to get DataSync to successfully send email to a different email address (such as your personal address) while still having the same SMTP settings?
— Reply to this email directly or view it on GitHubhttps://github.com/socrata/datasync/issues/51#issuecomment-31868096.
Hey Jon,
We believe that the changes that we made to the mailing class should have fixed this. Can you take a look with the latest and greatest JAR and let us know whether or not this is the case? Thanks!
I found this issue via a Google search.
I am running into the same issue with DataSync. I just updated to 1.8.0 and still getting the "illegal address" when clicking "Test SMTP Settings". If I skip the test and DataSync throws an error, I can see the same "illegal address" error in the console output.
I've tried a variety of different email addresses, all produce the same error.
Running WireShark on the machine at the same time as clicking "Test SMTP Settings" does not show it producing any network activity on port 25.
In the Preferences box I have the admin email, outgoing mail server, and smtp port specified. None of the other mail related settings are required in my environment.
Command Line from Linux:
Error sending email to: dataportal@cityofchicago.orgIllegal addressjava.lang.IllegalArgument
Relevant line from config.json:
"adminEmail": "dataportal@cityofchicago.org",