Information générale
Catégorie:
Codage, syntaxe et commandes
Hi ZLATIN
I am trying to put the data into the INBOX, not the outbox
if I send it to myself, dont I need to push the Send button. I dont want to have to do this if I can avoid it.
Reaaly what I want is just a whols pile of messages building up in my inbox
regards,
Gerard
>>I'm trying to add records to Outlook's inbox
>>(To simulate a RECEIPT of mail)
>>and am having difficulty.
>>
>>oApp=CreateObject('Outlook.application')
>>oSpace=oApp.GetNameSpace('MAPI')
>>
>>oMess=oSpace.GetDefaultFolder(6)
>>oNew=oMess.Items.Add()
>>oNew.Subject='This is a line'
>>oNew.Send
>>
>>This code seems to put the data ok into the outbox, waiting to be sent
>>
>>What I need to do is insert a line into the Inbox
>>
>>
>>
>>Regards,
>>
>>Gerard
>
>Why not send the message to yourself?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement