Board index » Visual Studio » putting mail in outlook

putting mail in outlook

Visual Studio53
i have to make a kind of mass-mailing application, but the real sending of

the messages is to the users discretion

so i just have to put messages in outlook's outbox

i have to do it with vb6 and outlook automation

if this is not the right newsgroup,please advice where i should post this

question

tia


-
 

Re:putting mail in outlook

Try the MAPISESSION and MAPIMESSAGES controls.

MapiSession opens an outlook session, while the mapimessages is used to

manipulate the sending-reveiving of mails.

--

IRFAN.







"PC" wrote:



Quote
i have to make a kind of mass-mailing application, but the real sending of

the messages is to the users discretion

so i just have to put messages in outlook's outbox

i have to do it with vb6 and outlook automation

if this is not the right newsgroup,please advice where i should post this

question

tia









-

Re:putting mail in outlook

"PC" <Onzin@pandora.be>'s wild thoughts were released on

Wed, 13 Sep 2006 01:22:49 +0200 bearing the following fruit:



Quote
i have to make a kind of mass-mailing application, but the real sending of

the messages is to the users discretion

so i just have to put messages in outlook's outbox

i have to do it with vb6 and outlook automation

if this is not the right newsgroup,please advice where i should post this

question

tia





Irfans suggestion of using the MAPI control wil get you up

and running quickly and your code will work with other MAPI

compliant e-mail programs.



The other option is to manipulate outlook directly.



I'm always a little reserved about helping anyone with mass

mailing though (although I'm sure yours is only to people

who want the mail)











Jan Hyde (VB MVP)



--

A pessimist's blood type is always b-negative. (Pun of the Day)



-

Re:putting mail in outlook

Thanks,that did work

i do not have outlook installed,but outlook express,i suppose it will work

with outlook to

1 small problem, even when i disable 'warn me when a program tries to send

email on your behalf'

i still get like a message box flashing for a fraction of a second and then

it disappairs



"Irfan S. Fazli" <IrfanSFazli@discussions.microsoft.com>wrote in message

Quote
Try the MAPISESSION and MAPIMESSAGES controls.

MapiSession opens an outlook session, while the mapimessages is used to

manipulate the sending-reveiving of mails.

--

IRFAN.







"PC" wrote:



>i have to make a kind of mass-mailing application, but the real sending

of

>the messages is to the users discretion

>so i just have to put messages in outlook's outbox

>i have to do it with vb6 and outlook automation

>if this is not the right newsgroup,please advice where i should post

this

>question

>tia

>

>

>

>





-

Re:putting mail in outlook

Jan

dont worry about this mass-mail program

its gone be used by a lady who has a small dog-grooming busines (+-500

clients at the moment),and she also is a dog-whisperer (i think its called

that in english)

and she will never contact more then a few clients every week

and just once a year everyone

further more i want to make sure my program does not actualy send the mail,

only puts it in the outbox

like you know, "hey i didn't shoot the guy, i only made the gun" -:)



"Jan Hyde" <StellaDrinker@REMOVE.ME.uboot.com>wrote in message

Quote
"PC" <Onzin@pandora.be>'s wild thoughts were released on

Wed, 13 Sep 2006 01:22:49 +0200 bearing the following fruit:



>i have to make a kind of mass-mailing application, but the real sending

of

>the messages is to the users discretion

>so i just have to put messages in outlook's outbox

>i have to do it with vb6 and outlook automation

>if this is not the right newsgroup,please advice where i should post this

>question

>tia

>

>

Irfans suggestion of using the MAPI control wil get you up

and running quickly and your code will work with other MAPI

compliant e-mail programs.



The other option is to manipulate outlook directly.



I'm always a little reserved about helping anyone with mass

mailing though (although I'm sure yours is only to people

who want the mail)











Jan Hyde (VB MVP)



--

A pessimist's blood type is always b-negative. (Pun of the Day)







-

Re:putting mail in outlook

"PC" <Onzin@pandora.be>'s wild thoughts were released on

Wed, 13 Sep 2006 23:40:32 +0200 bearing the following fruit:



Quote
Jan

dont worry about this mass-mail program

its gone be used by a lady who has a small dog-grooming busines (+-500

clients at the moment),and she also is a dog-whisperer (i think its called

that in english)

and she will never contact more then a few clients every week

and just once a year everyone

further more i want to make sure my program does not actualy send the mail,

only puts it in the outbox



That seems like an odd thing to do as outlook will send

what's in the outbox anyway at the interval it's configured

to. I'm wondering why you have this requirement?



Oh, re: the security warning, IIRC mapilab have an addin (I

think it's free...) for outlook. It allows you to give a

product permission to use outlook after which you won't see

the security messages anymore whenever that application uses

outlook.



J



Quote
like you know, "hey i didn't shoot the guy, i only made the gun" -:)



"Jan Hyde" <StellaDrinker@REMOVE.ME.uboot.com>wrote in message

news:jqffg2d5i09bcnkjmt17e76uco0k0d4td9@4ax.com...

>"PC" <Onzin@pandora.be>'s wild thoughts were released on

>Wed, 13 Sep 2006 01:22:49 +0200 bearing the following fruit:

>

>>i have to make a kind of mass-mailing application, but the real sending

of

>>the messages is to the users discretion

>>so i just have to put messages in outlook's outbox

>>i have to do it with vb6 and outlook automation

>>if this is not the right newsgroup,please advice where i should post this

>>question

>>tia

>>

>>

>Irfans suggestion of using the MAPI control wil get you up

>and running quickly and your code will work with other MAPI

>compliant e-mail programs.

>

>The other option is to manipulate outlook directly.

>

>I'm always a little reserved about helping anyone with mass

>mailing though (although I'm sure yours is only to people

>who want the mail)

>

>

>

>

>

>Jan Hyde (VB MVP)

>

>--

>A pessimist's blood type is always b-negative. (Pun of the Day)

>







Jan Hyde (VB MVP)



--

We were making love in the back of a truck and we got carried away.

(Spike Milligan)



-