Send Mail not working with FB 7.0.0.3135

Hello there,

i migrated our FB6 project to FB7(new system) and with the new version the Send Mail actions are not working anymore.
We’re always receiving the following error action:

500 5.0.0 Syntax error, command unrecognized
Unable to Send Message (Send)
Syntax error, command unrecognized

We already used a test application to send a mail through our mail server with the same information specified from the finalbuilder action and it works on the same machine with the test application.

I also tried to install FB7 on a different machine to exclude that the issue is bound to a machine (just for testing the issue). Still the same error.

Need more information. What mail server, what settings do you have on the send mail action? We have not had any other reports of this.

We are using Microsoft Exchange 2013 as our Mail Server.
The action is configured as followed:
SMTP Tab: Only HOST and PORT configured - no TLS Support
Sender: From, Name and Sender filled with identification
Recipients: Two specified recipients
Message: Subject filled, default encoding, Message is HTML Formated, Body is filled with text and html code
the following tabs are empty


What about user id and password. The action doesn’t support ntlm authentication so you do need to make it authenticate with the server.

Is this new with FB7? It works like that with FB6. Without userid/password.

We have tried to send a mail via blat comand line (http://www.msxfaq.de/tools/blat.htm) and via .NET send Mail function. Both ways work fine with Exchange authentication and without Exchange authentication (anonym) over port 25. If we try to send a mail with Final Builder with the same settings it dosn’t work. We get the following error message:
501 5.1.7 Invalid address
Unable to Send Message (Send)
Invalid address
221 2.0.0 Service closing transmission channel
Disconnected. : Disconnected.

You still haven’t given us enough information to be able to offer any suggestions. We don’t have exchange installed here, and even if we did, there are so many ways to configure that it would take far to long to replicate your setup. Are you able to access the servers smtp logs? If so, that might provide a clue as to which address or command it doesn’t like. It might also help to send your project to us (you can cut it down to just the send mail action) so we can see exactly what settings you have. Email it to support @ finalbuilder.com

I already gave you the information you asked me for in your post:

We are using Microsoft Exchange 2013 as our Mail Server.
The action is configured as followed:
SMTP Tab: Only HOST and PORT configured - no TLS Support
Sender: From, Name and Sender filled with identification
Recipients: Two specified recipients
Message: Subject filled, default encoding, Message is HTML Formated, Body is filled with text and html code
the following tabs are empty

I now installed FB6 on the same machine as FB7 and the action with FB6 (6.3.0.2026) works fine. No authentication filled in whatsoever. It’s just a simple send mail action with the settings above

Hi Nachtmahr,

Would it be possible to get a diagnostic log from the exchange server for when the action is being fired? One from FinalBuilder 6 and FinalBuilder 7. This will help us ascertain what has changed between the versions. As far as I can tell authentication will not be used if is not selected just like in FinalBuilder 6.

Please feel free to send this to our support email address. Thanks.

Hello i received the log from exchange after i used the FB6 send mail action

[Snipped Identifying Info - Added to issue tracking for this forum post]

With FB7 there is nothing in the log whatsoever.

Hi Nachtmahr,

Are there any firewalls or antivirus software on the machine stopping FinalBuilder 7 from accessing the network?

No, neither a firewall nor a antivir solution.

What happens when you call FinalBuilder 6 FBCMD from a Execute Program action from with in a FinalBuilder 7 project? The purpose of this is to see whether the permissions/process options are allowing communication with the mail server.

Sorry i do not understand what you mean by that. Do you want me to create a FB6 Project with the send Mail action and call it with FBCMD?

Yes, your right this is a little complex. Sadly its the only way I can think of testing whether FinalBuilder 7 itself is blocked.

To make things a little clearer (hopefully) the test is as follows;

- Create an FB6 project which has the send mail action which is known to work.
- Create an FB7 project which has an execute program action. In the execute program action call FBCMD for FinalBuilder 6 and call the project above.

This will result in a FinalBuilder 7 project calling a FinalBuilder 6 project. The test will prove is FinalBuilder 7 itself has the permissions, and process options correctly set to allow communication with the mail server (or authentication) server.