Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to post to Usenet from VFP

Status
Not open for further replies.

spectrumdata

IS-IT--Management
Dec 5, 2003
13
0
0
US
I have a VFP9 dbf of jokes. I'd like a routine that I could add to my VFP scheduler and post 5 or 6 jokes to alt.jokes every night. That would be NNTP port 119, I think.

Thanks
 
Perhaps CDO (Collaboration Data Objects) would suit your needs

Code:
iMsg = CreateObject("CDO.Message")

With iMsg
  .To         = "someone@microsoft.com"
  .Newsgroups = "comp.microsoft.newsgroup1"
  .Subject    = "Agenda for staff meeting"
  .HTMLBody   = "<html><body><p>Please plan to present your status for the following projects...</p></body></html>"
EndWith



Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
ReFox XI (www.mcrgsoftware.com)
 
Yep, I can see where it could be used for that. All I want is to post 5 or so jokes/day to alt.jokes. I'm not trying to sell anything.
 
ROFL!

I suppose so. At least we know it'll be the world's FASTEST spam generator. LOL
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top