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

Fraggle,

Our IDSMail OLE Server will provide you with a universal E-mail
send/receive programming component that supports any mail systems based
on MAPI, SMTP/POP3 (Internet mail) MHS, VIM, and Banyan VINES.  This
includes almost every E-mail program in the world.  For example, here is
all the VB4 code you would need to send a message with an attachment:

Dim idsMail as Object
Set idsMail = CreateObject("IDSMailInterface.Server")
idsMail.ObjectKey = "ABC123"
idsMail.NewMessage
idsMail.AddRecipientTo "Jim Smith"
idsMail.AddRecipientCc "Mary Brown, Doug Williams"
idsMail.Subject = "Meeting Agenda"
idsMail.Message = "Here is the agenda for the weekly meeting."
idsMail.AddAttachment "C:\MEETINGS\AGENDA.DOC"
idsMail.Send

For more info, go to http://www.intuitive-data.com



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

Will your server allow me to use address I have stored in my own PIM, for
instance I have along with phone numbers and fax numbers email address I am
trying to find a way to directly send email from within my app.
could I say:
.
.

Quote:
> idsMail.NewMessage


.
.

Quote:
> idsMail.Send



Quote:
> Fraggle,

> Our IDSMail OLE Server will provide you with a universal E-mail
> send/receive programming component that supports any mail systems based
> on MAPI, SMTP/POP3 (Internet mail) MHS, VIM, and Banyan VINES.



Mon, 22 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

Cindy,

Yes, you have complete control of what the addresses are.  They can come
from your PIM, a file, a database, etc.  For clarity, I always show the
example code with literal string addresses, but these are normally
variables loaded from somewhere else.



Tue, 23 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  
 
 [ 13 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