E-mail from VB40-program 
Author Message
 E-mail from VB40-program

Hi,

Im looking for a possibility to send e-mail from an Visual Basic
program. Can anyone urgently help me?

Thank you very much,

:-) fraggle (:-



Sun, 21 Nov 1999 03:00:00 GMT  
 E-mail from VB40-program

Quote:

> Hi,

> Im looking for a possibility to send e-mail from an Visual Basic
> program. Can anyone urgently help me?

> Thank you very much,

> :-) fraggle (:-

Me too, please


Sun, 21 Nov 1999 03:00:00 GMT  
 E-mail from VB40-program

Depends on which e-mail system you are using.  MAPI is easy -- VIM is a
little harder.

Bill



Sun, 21 Nov 1999 03:00:00 GMT  
 E-mail from VB40-program

Quote:

>Hi,

>Im looking for a possibility to send e-mail from an Visual Basic
>program. Can anyone urgently help me?

Check out Mabry's Mail control for an easy, and inexpensive, solution.


see http://www.mabry.com

*** spammer busters ***






Sun, 21 Nov 1999 03:00:00 GMT  
 E-mail from VB40-program


Quote:

>Hi,

>Im looking for a possibility to send e-mail from an Visual Basic
>program. Can anyone urgently help me?

If you want good, simple SMTP functonality there is a freeware DLL
available on the web called SMTP4W.  With one function call you can
send email.  All the documentation that comes with is in C, but I have
translated the function prototypes from C to VB, if you need them.

Regards,

Sal



Sun, 21 Nov 1999 03:00:00 GMT  
 E-mail from VB40-program

Quote:

> Hi,

> Im looking for a possibility to send e-mail from an Visual Basic
> program. Can anyone urgently help me?

> Thank you very much,

> :-) fraggle (:-

Try this:

From http://www.quecorp.com

---------------------------------
Dim objSession As Object  ' or Dim objSession As MAPI.Session
Dim objMessage As Object  ' or Dim objMessage As Message
Dim objOneRecip As Object ' or Dim objOneRecip As Recipient

Set objSession = CreateObject("MAPI.Session")
objSession.Logon "Joe White", "Echthros"

Set objMessage = objSession.Outbox.Messages.Add
objMessage.Subject = "Gift of droids"
objMessage.Text = "Help us, Obi-Wan. You are our only hope."

Set objOneRecip = objMessage.Recipients.Add

objOneRecip.Type = ActMsgTo
objOneRecip.Resolve
objMessage.Update

objMessage.Send True, False
MsgBox "The message has been sent"
objSession.Logoff
-------------------------------

--
Joe White

"Always a Godfather, never a God."



Mon, 22 Nov 1999 03:00:00 GMT  
 E-mail from VB40-program

Take a look at MAPI control built-in VB4 package.
You must have installed a Mail message service in your win environment such
as Microsoft Mail or exchange.
Keep me updated...
ciro Iodice


Quote:
>Hi,

>Im looking for a possibility to send e-mail from an Visual Basic
>program. Can anyone urgently help me?

>Thank you very much,

>:-) fraggle (:-



Mon, 22 Nov 1999 03:00:00 GMT  
 E-mail from VB40-program


Quote:
> Take a look at MAPI control built-in VB4 package.
> You must have installed a Mail message service in your win environment such
> as Microsoft Mail or exchange.

Eudora works perfeclty with this...

        Mike
--
Ovo je moj signacur fajl...



Sat, 04 Dec 1999 03:00:00 GMT  
 E-mail from VB40-program

Quote:

> =

> > Take a look at MAPI control built-in VB4 package.
> > You must have installed a Mail message service in your win environmen=
t such
> > as Microsoft Mail or exchange.
> =

ok this works fine but i have the problem to start a MAPI-Session
successfully without starting MS-Exchange before !
I dont't want to start MS-Exchange every time my VB-Program send a
Mail. How does this work, what must i do to avoid this ?

Please help, thanks !

                                  \\,//
                                  (o o)
     --------------------------=F4=D4=D4-(_)-=D4=D4=F4-------------------=
---------

      SHD Datentechnik GmbH & Co. KG          fax:   (49)2632/295-814
      Rennweg 60                              phone: (49)2632/295-0
      D-56626 Andernach                       http://www.shd.de
     -----------------------------------------------------------------



Sun, 19 Dec 1999 03:00:00 GMT  
 E-mail from VB40-program

Search the net for  > easymail.dll
A lovely little thing.
chris


Quote:


> > Take a look at MAPI control built-in VB4 package.
> > You must have installed a Mail message service in your win environment
such
> > as Microsoft Mail or exchange.

ok this works fine but i have the problem to start a MAPI-Session
successfully without starting MS-Exchange before !
I dont't want to start MS-Exchange every time my VB-Program send a
Mail. How does this work, what must i do to avoid this ?

Please help, thanks !

                                  \\,//
                                  (o o)
     --------------------------???-(_)-???----------------------------

      SHD Datentechnik GmbH & Co. KG          fax:   (49)2632/295-814
      Rennweg 60                              phone: (49)2632/295-0
      D-56626 Andernach                       http://www.shd.de
     -----------------------------------------------------------------

----------



Mon, 20 Dec 1999 03:00:00 GMT  
 E-mail from VB40-program

Go check my site http://www.ozemail.com.au/~obyone.  Source Code -> ProMail
'97 used SocketWrench



Quote:
> Search the net for  > easymail.dll
> A lovely little thing.
> chris




> > > Take a look at MAPI control built-in VB4 package.
> > > You must have installed a Mail message service in your win
environment
> such
> > > as Microsoft Mail or exchange.

> ok this works fine but i have the problem to start a MAPI-Session
> successfully without starting MS-Exchange before !
> I dont't want to start MS-Exchange every time my VB-Program send a
> Mail. How does this work, what must i do to avoid this ?

> Please help, thanks !

>                                   \\,//
>                                   (o o)
>      --------------------------???-(_)-???----------------------------

>       SHD Datentechnik GmbH & Co. KG          fax:   (49)2632/295-814
>       Rennweg 60                              phone: (49)2632/295-0
>       D-56626 Andernach                       http://www.shd.de
>      -----------------------------------------------------------------

> ----------



Thu, 30 Dec 1999 03:00:00 GMT  
 
 [ 11 post ] 

 Relevant Pages 

1. E-mail from VB40-program

2. E-mail from VB40-program

3. e-mail using the server instead of client e-mail program

4. VBA code to send an email message through Lotus Notes mail interface

5. Need an Access VBA script to create/mail an email

6. Retrieve Email Address From Returned Mail

7. fax-emails no Mail.Item?

8. Email sent from another mail account

9. Forward e-mail according to sender's email address

10. retrieve email id of the newly arrived mail.

11. mail merge to email

12. Send email to a mailing list

 

 
Powered by phpBB® Forum Software