Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
E-mail without automation
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00760873
Message ID:
00765196
Vues:
31
I'm sure it will - any SMTP software is likely to use direct sockets to access mail server.

Also while looking at this stuff, be sure to look at West Wind Internet Protocols, which also provides SMTP services... It uses a VFP class and requires no COM. The class library also includes HTTP, FTP, Sockets and various Internet utilities...

To send mail is as simple as:
CLEAR
o=CREATE("wwIPStuff")

o.cMailServer="yourmail.server.net"

*** Optional - Authentication
* o.cUsername = "username"
* o.cPassword = "password"
	
o.cSenderEmail="bbopp@test.com"
o.cSenderName="Bill Bopp"

o.cRecipient = "somebody@recipient.com"

*** or name/email and multiple recipients:
* [Rick Strahl <rstrahl@west-wind.com>,Web Monitor <rickstrahl@hotmail.com>]

o.cCCList="Ricky Jr <rjr@box.com>"
o.cBCCList=""

o.cSubject="wwIPStuff Test Message"
o.cMessage="Who said this had to be difficult?"

* o.cAttachment="d:\utl\hex.exe,d:\utl\kill.exe"

llResult = o.SendMail()       && Send again - wait for completion
IF !llResult
   Wait window o.cErrorMsg
ELSE
   Wait window nowait "Message sent..."
ENDIF
	
RETURN
Additional features incluide HTML emails, multiple attachments, asynchronous message sending and options to configure custom headers.

For more info check out:

http://www.west-wind.com/wwipstuff.asp

+++ Rick ---


>Hi Brian,
>
>I have been using the regular Outlook objects, and it worked fine until MIS upped the security as part of their overall policy.
>Now, instead of transparent under the hood automatic EMails which make our work very efficient, the users have to pass through a hurdle of prompt screens, and rarely manage to come out into the clear.
>
>Will your SMTP OCX solve that?
>
>Thanks, Jonathan
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform