Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Tags
c x 8
ruby x 2
Member Avatar for mattitude
Member Avatar for mattitude

So far today has been one of those days where I can't get anything to work. For the past three hours, I have been trying to require tmail library, and trying to connect to my mail server with imap. Here is a brief session illustrating my frustration. [CODE]irb(main):001:0> require 'net/smtp' …

Member Avatar for tiger86
0
286
Member Avatar for mattitude

I have a ruby program that is supposed to send e-mails, and the exact code worked before, but won't work now. Can anyone help me understand why? Here's the code: [CODE] STDOUT.sync = true require 'net/smtp' require 'rubygems' require 'hpricot' require 'open-uri' Net::SMTP.start('smtp-server.cfl.rr.com', 25) do |smtp| smtp.open_message_stream('MBECK88@cfl.rr.com', ['mbeck@knights.ucf.edu']) do |f| …

Member Avatar for tiger86
0
88
Member Avatar for mattitude

Hi, I'm trying to write a program that will continuously pull up a text file, search it for anything new, and create/change a different text file if there are ever any differences in the "myfile.txt" that is being constantly searched. The problem is, when I run my code, it consumes …

Member Avatar for jephthah
0
111
Member Avatar for mattitude

I'm sorry, my function won't compile, and I cannot figure out why, but I know it's something ridiculously easy. int search_for(keywords[TOTAL_KEYWORDS][20], string_of_interest[MAX_CHARS_PER_LINE]); it tells me there is a syntax error before the '[' token. Thanks

Member Avatar for mattitude
0
34
Member Avatar for mattitude

Basically, I'm writing some code that will take text from some .txt files and rearrange them into other .txt files. I've written 3 functions, but ignore the 2nd one, I haven't worked on it yet. When I try to call my 3rd function, I get an error message from Dev …

Member Avatar for mattitude
0
361