Hi,
I would think it can't work without specifying a port, probably should set this to 25:
<add key="SMTPPort" value="25" />
2009-05-31 13:00:01,254 ERROR mojoPortal.Web.Global - Application_Start Could not register VirtualPathProvider, must be running in Medium trust or lower
This has nothing to do with mail sending or not, you will see this in your log after every time the application restarts because you are in medium trust.
This error is the one that matters:
2009-05-27 19:36:58,997 ERROR mojoPortal.Web.ContactUI.ContactForm - System.Security.SecurityException: Request for the permission of type 'System.Net.Mail.SmtpPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
at System.Security.CodeAccessPermission.Demand()
at System.Net.Mail.SmtpClient.Initialize()
at System.Net.Mail.SmtpClient..ctor(String host, Int32 port)
at mojoPortal.Net.Email.SendEmailNormal(
and it indicates your host has the security policy too tight. I'm sure what they told you is true, that you have to use that specific mail server and its configured so that no authentication is required for relays from the web server, but this error is a .NET security error that means the .NET security policy (custom trust level) on the web server is not allowing use of the System.Net.Smtp client. The error happens in the constructor of the smtp client before it even tries to send the message.
Hope it helps,
Joe