Make sure you don't have this:
<add key="EnableSiteSettingsSmtpSettings" value="true"/>
because if that is set to true it is ignoring the rest of the settings in user.config/web.config and will use smtp settings configure din Administration > Site Settings.
Get the contact form working first since it is easiest to test and then other things that send email should work.
Hope that helps,
Joe
ps: this is not the correct forum for this question, this is the developer forum for questions about custom development in Visual Studio. Please read the forum descriptions before posting to help us keep the forums organized.