Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
E-mail without automation
Message
De
04/03/2003 10:44:06
Cleber Ferrari
Capta Tecnologia
Brésil
 
 
À
04/03/2003 10:03:13
N. Lea
Nic Cross Enterprises
Valencia, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00760873
Message ID:
00760911
Vues:
26
Options for this problem :
- In windows 2000/XP : CDO
objEmail = Createobject("CDO.Message")
objEmail.From = Trim(Substr(Sys(0),1,At("#",Sys(0))-1))+"@coloil.com.br"
objEmail.To = "x@x.com"
objEmail.Subject = "teste"
objEmail.AddAttachment("c:\test.txt")
objEmail.Send
Release objEmail
- Using Outlook express : MAPI
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fox7help/html/samSend_Mail.asp
http://msdn.microsoft.com/library/?url=/library/en-us/mapi/html/_mapi1book_legal_information_2.asp?frame=true
With thisform
	.oleSession.Signon
	.oleMessage.SessionID = .oleSession.SessionID
	.oleMessage.Compose
	.oleMessage.RecipIndex = 0
	.oleMessage.RecipDisplayName = "x@x.com"
	.oleMessage.ResolveName
	.oleMessage.MsgSubject = 'test'
	.oleMessage.AttachmentIndex = 0
	.oleMessage.AttachmentPathName = "test.htm"
	.oleMessage.Send(0)
	.oleSession.Signoff
Endwith
- using others control
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform