For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic > April 2005 > Send email









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Send email
Edward

2005-04-30, 3:55 pm

Is there a single simple command in VB that compares to SendObject in VBA,
to send an email using the default email client?
I have to automatically send an email from my application. I have been
using the following in VBA:

DoCmd.SendObject , , acFormatTXT, "email@domain.com", , , "Access Alert " &
Date, "This is a test message sent directly from my Access application",
False

Thanks




Peter Aitken

2005-04-30, 3:55 pm

"Edward" <nospam@hotmail.com> wrote in message
news:6POce.26740$Ow2.19250@fe06.lga...
> Is there a single simple command in VB that compares to SendObject in VBA,
> to send an email using the default email client?
> I have to automatically send an email from my application. I have been
> using the following in VBA:
>
> DoCmd.SendObject , , acFormatTXT, "email@domain.com", , , "Access Alert "
> &
> Date, "This is a test message sent directly from my Access application",
> False
>
> Thanks
>


See

http://www.pgacon.com/visualbasic. ...0Pr
ogram


--
Peter Aitken

Remove the crap from my email address before using.


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com