Frequently
Asked
Questions


Poll

Which Web server are you using with Active FoxPro Pages?
 


Navigation

Active FoxPro Pages FAQ
AFP 2.x
AFP in general
First steps
News
Plugins
Resources
Samples
Votes
Web server
FAQuarium
Glossary
Plugins
Server
Sidebar
Site Navigation Bar
Top Articles


Your Location

Germany


Partner Sites

- Microsoft Community Guide -
- AFPBB Boost your Board -
- AFP-Community -
- MiDeK - Internet Publishing -
- VfpNetwork.Com -
- MSDN VFP -
- CoDe Magazine -
- Golo Haas -


Advertisement

Imprint

Microsoft CLIP member

 
  [96] Codesample - eMail
Rate this page Print Office Email Discuss
1835 requests - last updated Sonntag, 26.10.2003
    LPARAMETERS tcFromEmail, tcFromName, tcTo, tcCc, tcBCC, tcSubject,
    tcMessage, tcAttachment
    DECLARE integer SendMail IN "C:\afp\wwipstuff.dll" ;
    STRING cFrom, ;
    STRING cFromName, ;
    STRING cTo, ;
    STRING cCC, ;
    STRING cBCC, ;
    STRING cSubject, ;
    STRING cMessage, ;
    STRING cAttachment,;
    STRING cMailHost,;
    STRING @cError,;
    STRING cContentType
    lcError = SPACE(513)
    lnresult = SendMail( tcFromEmail, tcFromName, tcTo, tcCc, ;
    tcBCC, tcSubject, tcMessage, tcAttachment, ;
    "mail.YOURSERVER.com" , @lcError , "text/plain")

Please enter your own mail server into the function call. Moer information and developer's license of wwIPstuff is available at www.west-wind.com.

But there are more possibilities to send a mail with Active FoxPro Pages. Althought this article is about AFP 3.0 the same concept is useable with AFP 2.x.

Note:

This article is only valid on version 2.4.6 or lower.

All text is available under the terms of the
GNU Free Documentation License.

User contributed notesAdd a note
Copyright © 2002-2005 AFP FAQ. All rights reserved. Please send any irritations on this Web site to our Webmaster. Validate HTML