autoit _INetSmtpMail Mail failed with error code 50, solution

With exchange 2003 at least

From here

You need to use a -1 for the optional parameter

$sFirst [optional] string sent before helo for the smtp server connection (by default {SPACE}). To not send any character this parameter must equal -1, some SMTP server required it.


So it ends up being

Local $iResponse = _INetSmtpMail($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_Subject, $as_Body,”,-1)

Automating Software Testing Adage ERP, Coolearth Warehouse Management, VeggieTests

So I have been working on an easy app for submitting QC tests to adage through the TEE interface. As mentioned in this post

Well I wanted to setup an automated test that would basically go from a shop order released to production (In Adage ERP, the lot creation (In Coolearth WMS), and then some sample tests in VeggieTests.

I scripted it in AutoIt, for the windows apps this works great but for the telnet apps it just has to guess. I have started investigating using Expect for the telnet WMS testing.

This is a quick little flash file of one automated run through.