I found the problem....
I'm using McAfee 8.0i Enterprise.
It turns out that McAfee standard blocks all traffic on port 25 except for some defined programs (e.g. Outlook). When I add the process w3wp.exe (IIS) mail from Moodle works fine.
Greetings,
Koen