crt052681 said:I have been able to create a form that will send an email automatically when the form is opened. Tha problem is, the email will not actually send until I open Outlook. Any ideas?
Thanks in advance.
DoCmd.SendObject acSendNoObject, "", "", Me.EMAIL, "", "", Me.sub, Me.Text23
bonekrusher said:I use the following line and it will start an email message even when outlook is not open.
Code:DoCmd.SendObject acSendNoObject, "", "", Me.EMAIL, "", "", Me.sub, Me.Text23
DoCmd.SendObject acSendNoObject, "", "", "medog@myisp.com.au", "", "", "Subject Text", "Message Text"[B], False[/B]
ansentry said:Using Outlook express, with Tools / Options/Security remove the tick from "Warn me when other applications try to send e-mail as me" the following code will work.
Code:DoCmd.SendObject acSendNoObject, "", "", "medog@myisp.com.au", "", "", "Subject Text", "Message Text"[B], False[/B]
When I try it with Outlook 2003 I get a security warning, and as far as I know you can't turn it off.