Προς το περιεχόμενο

Help se VB+Outlook automation


Pytzamarama

Προτεινόμενες αναρτήσεις

Δημοσ.

' General Declaration<BR>Dim ap As Outlook.Application<BR>Dim mail As Outlook.MailItem<P>' First of all include the reference from the project menu called<BR>' Microsoft outlook 9.0 object library<BR>' Then copy the given code in the load event of form<P>Set ap = New Outlook.Application<BR>Set mail = ap.CreateItem(olMailItem)<BR>With mail<BR> mail.To = "Receiver's address"<BR> mail.Subject = "Subject"<BR> mail.BCC = ""<BR> mail.CC = ""<BR> mail.Body = "Your Message"<BR> mail.Send<BR>End With<P>loipon auto to vrika se ena site alla opos blepeis den periexei tipota gia attachment alla pisteuo oti an kaneis diafora piramata sxetika me to ti mporeis na baleis px mail.Attach = "filename"<P>allo einai <A HREF="http://www.vbcode.com/asp/showzip.asp?ZipFile=http://www.geocel.com/dev'>http://www.vbcode.com/asp/showzip.asp?ZipFile=http://www.geocel.com/devmailer/ex/dmvbtest.zip&theID=546'>http://www.vbcode.com/asp/showzip.asp?ZipFile=http://www.geocel.com/devmailer/ex/dmvbtest.zip&theID=546" TARGET=_blank>http://www.vbcode.com/asp/showzip.asp?ZipFile=http://www.geocel.com/dev mailer/ex/dmvbtest.zip&theID=546</A> <P>allo einai <A HREF="http://www.vbcode.com/asp/showzip.asp?ZipFile=http%3A%2F%2Fwww%2Evbip%2Ecom%2Fwinsock%2Fwinsock%5Fuucode%5F01%2Easp&theID=1231" TARGET=_blank>http://www.vbcode.com/asp/showzip.asp?ZipFile=ht tp%3A%2F%2Fwww%2Evbip%2Ecom%2Fwinsock%2Fwinsock%5Fuucode%5F01%2Easp&theID=1231</A> <P>kai allo ena <A HREF="http://www.vbcode.com/asp/showzip.asp?ZipFile=http%3A%2F%2Fwww%2Evbcode%2Ecom%2Fcode%2FMailPrj%2Ezip&theID=2340" TARGET=_blank>http://www.vbcode.com/asp/showzip.asp?ZipFile=http%3A%2F%2Fwww%2Evbcode%2Ecom%2Fcode%2FMailPrj%2Ezip&theID=2340</A> <P>exei kai alla ekei bres ta monos sou ;)<BR>------------------<BR>EDgSTr5SmDY=<p>[This message has been edited by sh4dow (edited 03-05-2001).]

Αρχειοθετημένο

Αυτό το θέμα έχει αρχειοθετηθεί και είναι κλειστό για περαιτέρω απαντήσεις.

  • Δημιουργία νέου...