Hi! I'm having a new problem w/ sendmail, new in the sense that I've used sendmail many times before but have never experienced this problem 'til now. Back story: I recently learned that, without announcement, the address I'd been using for an SMTP server was removed about six months ago; I was given a "new," numerical (the old address had been a text alias) IP, which works fine in my Python apps without my having had to do anything other than simply swap out the old for the new. However, using it similarly with sendmail I now get:
Java exception occurred:
javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay for <un>@<my.domain>
with the "nested exception is:..." part repeated several times for each of the addresses I have in my cell array.
After a little searching online it sounds like my problem is most likely "Your smtp server forbids relaying, which is very common. Often a smtp server is configured to send only mails within the same domain without authentication." However, the sender address is also @<my.domain>--that's the same domain, yes? Is it possible that the way the javax.mail object is presenting the sender and recipient addresses to the smtp server is masking the fact that they're from the same domain? If so, workaround? Any other ideas? Thanks!