/ Forside / Teknologi / Udvikling / VB/Basic / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
VB/Basic
#NavnPoint
berpox 2425
pete 1435
CADmageren 1251
gibson 1230
Phylock 887
gandalf 836
AntonV 790
strarup 750
Benjamin... 700
10  tom.kise 610
Outlook problem hjelp
Fra : Ole Thomas Sløgedal


Dato : 09-01-10 19:50

Hei igjen!

Dette funker som bare rakkeren men jeg har et problem og det er at jeg får
opp en melding om at:

A program is trying to send mail using Item.Send
A program is trying to automatically send an e-mail message using a
Microsoft Visual Basic Application (VBA) command,
Item.Send, from within Microsoft Outlook. If you want this program to send
this message, click Yes. To stop the program,
click No. If you are unsure which program is sending the message or why the
message is being sent, you should click No
to help avoid the possible spread of viruses.
Note When this message is displayed, the Yes button is not available for
five seconds.

Kan noen hjelpe slik at jeg kan unngå denne meldingen. Kanskje det bare er
en instilling i Outlook. Hvis denne meldingen kommer opp
kan jeg ikke få sendt flere meldinger. Forstår jo at denne blokkeringen må
være på hos vanlige brukere men på egen maskin vil jeg ha det vekk.




> Dim oOApp As Outlook.Application
> Dim oOMail As Outlook.MailItem
>
> Set oOApp = CreateObject("Outlook.Application")
> Set oOMail = oOApp.CreateItem(olMailItem)
>
> With oOMail
> .To = "ole-t.s@online.no"
> .Subject = "email subject"
> .Body = "email message"
> .Send
> End With
>
>




 
 
Ole Thomas Sløgedal (17-01-2010)
Kommentar
Fra : Ole Thomas Sløgedal


Dato : 17-01-10 12:57

Jeg har funnet løsningen likevel.

Ole T.



"Ole Thomas Sløgedal" <ole-t.s@online.no> skrev i nyhetsmeldingen:
poWdnaEa9aNEUtXWnZ2dnUVZ876dnZ2d@telenor.com ...
> Hei igjen!
>
> Dette funker som bare rakkeren men jeg har et problem og det er at jeg får
> opp en melding om at:
>
> A program is trying to send mail using Item.Send
> A program is trying to automatically send an e-mail message using a
> Microsoft Visual Basic Application (VBA) command,
> Item.Send, from within Microsoft Outlook. If you want this program to send
> this message, click Yes. To stop the program,
> click No. If you are unsure which program is sending the message or why
> the
> message is being sent, you should click No
> to help avoid the possible spread of viruses.
> Note When this message is displayed, the Yes button is not available for
> five seconds.
>
> Kan noen hjelpe slik at jeg kan unngå denne meldingen. Kanskje det bare er
> en instilling i Outlook. Hvis denne meldingen kommer opp
> kan jeg ikke få sendt flere meldinger. Forstår jo at denne blokkeringen må
> være på hos vanlige brukere men på egen maskin vil jeg ha det vekk.
>
>
>
>
>> Dim oOApp As Outlook.Application
>> Dim oOMail As Outlook.MailItem
>>
>> Set oOApp = CreateObject("Outlook.Application")
>> Set oOMail = oOApp.CreateItem(olMailItem)
>>
>> With oOMail
>> .To = "ole-t.s@online.no"
>> .Subject = "email subject"
>> .Body = "email message"
>> .Send
>> End With
>>
>>
>
>
>

Søg
Reklame
Statistik
Spørgsmål : 177424
Tips : 31962
Nyheder : 719565
Indlæg : 6407903
Brugere : 218877

Månedens bedste
Årets bedste
Sidste års bedste