Prev: ADO Recordset and Connection Issues in VB6
Next: ADO/SQL Server: datetime column appears to be "1901-1-1 00:00:00" after insertion
From: jpBless on 7 Apr 2010 07:47
Thanks GS, MikeB, MikeD, Clive Lamb for your time and input. I really
appreciate. I installed "Outlook Redemption" suggested by Clive Lamb and the
it works OK (for now). The security warning stopped. Although I would love
to have intrinsic VB solution to this proble,
Again thank you all for helping... much appreciated.
"jpBless" <jp3blessNoSpam(a)hotmail.com> wrote in message
> First off my apology for multiposting. I posted to the wrong group by
> accident. This post was meant for this group and not the enterprise group
> I had posted to by accident.
> I have automated VB6 application that sends email to to clients when
> prompted by a user. The app uses MAPI client (using the default mail
> information to send the mail). After sending mail the email and
> gets added to SENT Folder of the mail client.
> This app has worked well and still does for users using Outlook express.
> However if the default client is Outlook Application a security
> message/warning comes up warning the user "Unknown application is trying
> send messge..." and ask user to confirm and select profile etc... No
> what the user does the app hangs. I have tried all I could and can't
> this problem... Has any one encountered and resolved this issue?
> I have thought of using any VB6 method that could send email independent
> user's default email... But I am stomped too. The Sendmail.dll can't seem
> resolve the issue of sending mail using IMAP (like Gmail) settings..
> In short I need your help. Thanks in advance.
From: Mayayana on 7 Apr 2010 09:25
| Although I would love
| to have intrinsic VB solution to this proble,
I'm not really familiar with IMAP, but isn't that
only for retrieval? I don't understand why you
can't use VB SMTP code (like vbSendMail) to
email through gmail. There are specs here:
Is it possible that you used the wrong port?
(Most email now requires authentication, using
port 587 rather than 25, but using authentication
is not problematic in terms of coding it.)
I noticed that gmail
SMTP also uses a secure logon. That might be
an issue. I don't know what's involved in doing
that, but it might be worth looking into. It would
probably require checking whether a secure
connection is required during the initial EHLO
exchange (which is easy) and then being ready
to encrypt the communication (which may not
be easy...I don't know). There's a page here
If you figure it out maybe you can post the
code back here. :) It looks like it probably
requires at least an additional encryption
lib., though. (capicom?)