Dutch
I use CDO myself to send SMTP mail .. there are two factors out of the developers control in a Corporate environment and it all boils down to security.
1) You can use a local SMTP transport within a business, however most large Corporations limit SMTP traffic from ONLY KNOWN DNS targets such as multi function machines ( copiers that scan .pdf to e-mail ). And the other achilies heal is local SMTP limits e-mail to within the Company and will not allow out-bound SMTP to get past the firewall.
2) CDO is a good solution because you can set up a third party SMTP relay account, like a gmail address ( as in your example ), and point your SMTP traffic to that external address. Again, many modern Enterprises STOP ANY SMTP routing from going out through their firewall, again defeating your purpose.
To make SMTP work, you need to include any IT department in the deployment of your app that uses SMTP so they can be aware of the traffic and in ALL cases allow for the traffic to be sent from a specific DNS device.
Rick Lipkin