Top Level Namespace
- Includes:
- Config
Defined Under Namespace
Modules: Version Classes: Contact, Fixnum, ItemOfMail, NilClass, Object, QueryError, QueueRunner, Quit, Receiver, SaveError, Server, String, Terminate
Constant Summary collapse
- LOG =
get setup and open the log
Logger::new(LogPathAndFile, LogFileLife)
- S3DB =
Open the sqlite3 database for rubymta use
Sequel.connect("sqlite://#{S3DBPath}")
- CRLF =
"\r\n"
- LocalLMTPPort =
24
Instance Method Summary collapse
Instance Method Details
#manually_run_queue_runner ⇒ Object
9 10 11 12 |
# File 'lib/rubymta/queue_runner.rb', line 9 def manually_run_queue_runner exit unless File::open(LockFilePath,"w").flock(File::LOCK_NB | File::LOCK_EX) QueueRunner.new.run_queue end |
#send_local_alert(from, to, subject, text) ⇒ Object
444 445 446 |
# File 'lib/rubymta/queue_runner.rb', line 444 def send_local_alert(from, to, subject, text) QueueRunner::new.send_local_email(from, to, subject, text) end |