Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a Talend job which only sends an email using username and password (Exchange server). When testing the job on my laptop, it works fine, when deployed on a Windows 2012 server, I get the following exception:
Exception in component tSendMail_1
com.sun.mail.smtp.SMTPSendFailedException: 550 5.7.1 Client does not have permissions to send as this sender
Any suggestion howto solve this?
@limsuser ,you need to check that from that Windows 2012 server,can you able to connect to mail server or not? if it proxy issue,you may need to set proxy by using tSetProxy component.
I am able to connect to the mail server (checked with telnet), it's also not a proxy issue because there's also a .NET application installed on the same server which is also sending e-mails with the same account without an exception.
@limsuser ,can you check the From mail id/credentials are correct?
Is it important what's in the from? Does it perform a check on the from e-mail address?
Are there any specific java libraries needed? Is it possible to check if sending mail from java works?