Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Preventing Outlook "Send?" msg when using MAPI .SEND

Status
Not open for further replies.

flo55y

Programmer
Aug 6, 2003
21
GB
Hi Folks,

I'm new to Tek-Tips so please be gentle with me!

I'm using VB6 and a MAPI compatible email client (Outlook Express)

I need to send out emails from my VB app. I have managed to do this successfully using the MAPI controls and the emails are being sent - which is the good news. The bad news is that Outlook Express warns the user that another program is attempting to send an email and asks the user whether they want to send it or not. My requirement is to send upto 150 emails from the app in one go once a week/month. This'll obviously be a real bind for my clients to have to click Send 150 times, besides making me look like a numpty!

Does anyone out there know how I can by-pass this Send? dialogue from Outlook?

Thanks in anticipation.
 
You can use the SendMail.DLL or Redemption.

Do a search on either of those terms in this forum and you'll get several solutions

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'If we're supposed to work in Hex, why have we only got A fingers?'
 
Or, since you're using Outlook Express you can turn off the warnings in the Security tab under options.

Uncheck:

"Warn me when other applications try to send mail as me"

This option is only avail. on OE.
 
Hi Folks,

Thanks a lot for your comments.

I didn't make it entirely clear that I'll be rolling this app out to numerous clients and they'll all have different email clients and setups etc. So thanks for the comment regarding OE and switching off the "Warn me when other applications try to send mail as me" - it does work but, as you say, this will only work for OE.

I can't use the clickyes solution as that may leave my clients open to spyware abuse in the future, just so I can get my app to work for them. And I'll look like a numpty again ;-)

I'll look into SendMail.dll and Redemption. I'm also looking into setting up a direct SMTP client within my app via winsock etc.

Thanks again for all your help and I'll keep you posted as to how I get on.

Cheers, Flo55y.
 
Hi Folks,

Thanks to everyone for their help. I used the vbsendmail.dll in the end and, so far, it's worked a treat.

Cheers, Flo55y.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top