after upgrading from WFA2.01 to WFA2.1 I cannot send eMail notifications. Before the upgrade this worked.
When testing eMail notification in the WFA configuration dialog then the following error message is displayed (I wiped out server and sender):
"Could not send mail message through SMTP server '<server>' from: '<sender>' . Reason: 334 VXNlcm5hbWU6"
What is the reason for this problem?
334 VXNlcm5hbWU6 is BASE64 encoding for Username. The message is sent from your mail Relay i.e. SMTP server. Let me confirm what you did.
1. Had WFA email notifications on 2.0.1 server and it was working.
2. Took a backup and saved it.
3. Installed WFA 2.1RC1 on the same server and restored the earlier backup.
4. Didn't change any SMTP server or anything and tried Test Send mail.
Is this correct?
Also can you send a screenshot of you WFA Email configuration you are using and the exact error.
WFA2.1 doesn't require username/password authentication for SMTP. Actually its your SMTP server which will decide if it needs authentication or not. From WFA side those Parameters are not mandatory. So nothing has changed which would cause this. Even If that be the case the failure message would have been something like failed authentication.
I tried the steps as yours but for me it works fine.
I wanted the screen shot to see how have you provided your SMTP server and Sender fields. If you don't want to post it here, you cam mail me at sinhaa at netapp dot com
Looks like the Java Mail API ( from WFA) connection to SMTP server is breaking in the middle for AUTH LOGIN for some unknown reason.
Restart WFA server service and see if it works.
we have the same problem here. Sending mails with a AD-User and password provided is always successful, but without username and password, sending mails will fail.
Is there a way to enforce "non-authenticated" sending of mails in WFA? Or is there a workaround?
Thanks and Regards,
Can you do a bit of testing and provide the results. Keep WFA aside and you can use the attached Powershell script SendEmail.ps1 for testing. Alternately you can use your own script as well.
1. Your SMTP server allows to send emails with and also without Credentials. Correct?
2. Does the SMTP server sends emails when you provide incorrect credentials
In my testing using powershell script, I see that an SMTP server that allows both Authenticated and Anonymous Access, send email works even if credentials are incorrect or without any credentials and with correct credentials. But from WFA with this smtp server, unless I provide the correct credentials, it fails.
Provide your results to help me find the cause.
1) Our SMTP allows sending mails with and without credentials.
2) I worked with your script, using power shell.
The mail is sent without credentials, with correct credentials and even with incorrect credentials.
Using WFA, the mail only is sent, when providing correct credentials. With incorrect credentials, I get:
When using no credentials, I get the above posted error.
If you have access to your SMTP server and can modify its Access Control configuration, I think this problem should get solved. Based on your test results, I think your SMTP Access Control Authentication is marked for Both Anonymous and Basic Authentication. See the image below, it could look something similar. Access Control -> Authentication
I would normally expect that once I checked Anonymous Access, I shouldn't be allowed to check the button for Basic authentication. It makes no sense to have both enabled. Once anonymous is selected SMTP server sends mail in all cases of without-credentials/correct-credentials/wrong-credentials. So why should one select even the Basic authentication if they want anonymous. Microsoft should have handled this.
If you Uncheck this Basic Authentication, then I think it should start to work fine. And there won't be any impact on anything as well.
Let me know if this worked for you. On my side, I tested it and it works well for me.