Hello Jean,

Thanks for your input again! I just download the procedure file an
example. Just curious, in your code below - you have an Asterisks in a
bunch of spots that don't seem to make sense - like around CREATEOBJECT.
Was just wondering why.

Thanks,
-K-

-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Jean MAURICE
Sent: Friday, June 29, 2012 3:18 PM
To: [email protected]
Subject: Re: Sending E-mails from VFP

Here is an example of vfpwinsock  (http://www.vfpwinsock.com)

|*SET* *PROCEDURE* *TO* VFPwinsock
o=*CREATEOBJECT*(_"VFP_Winsock_Send_Mail"_)
o.SMTP_HOST = _"smtp.Serveur.com"_
o.*FROM* = _"[email protected]"_
o.FROM_NAME = _"Mon Nom"_
o.*TO* = _"[email protected]"_
o.Subject = _"Hello World"_
o.*Message* = _"Ci joint..."_
o.attachment = _"c:\temp\fichier1.jpg, c:\temp\fichier2.jpg"_
*IF* *NOT* o.send()
   ? _"Erreur : "_ + o.Erreur
*ENDIF*
o=*Null

The Foxil
*|


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/289ea162f5642645b5cf64d624c66a140e260...@us-ny-mail-002.waitex.net
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to