All,
I need to add email capability to our app, our users will be emailing invoices & statements as PDF attachments, possibly hundreds of emails at a time. This needs to work across a wide variety of platforms, i.e. XP, Vista, and Win 7 (32 & 64 bit). I can get the smtp class to send emails on my computer through port 25 and my local isp (comcast) but I cannot get it to work with gmail or yahoo.
Does anyone have an example of how to send email using the smtp class to a gmail account?
With debug turned on and using port 465 I the following in the log:
04/23/11 19:08:41: Connect Socket handle: 180
04/23/11 19:08:41: Write Socket handle: 180
and that's it. The email is never received.
In other suggestions for an email solution would be appreciated. I don't want to use mapi as most of our users won't have a mapi compliant email program on their computer. Many of our users use gmail, yahoo, or some other provider. So it needs to work with most popular isp's and those that require authentication.
I would certainly consider any 3rd party products if they meet the above requirements.
Thanks,
Randal