|
Revision 935
(checked in by rsz, 3 years ago)
|
cleanup
|
| Line | |
|---|
| 1 |
-------------------------------------------------------------------------------- |
|---|
| 2 |
-- Title: SMTPRset.lua |
|---|
| 3 |
-- Description: Like a square peg in a round hole |
|---|
| 4 |
-- Author: Raphaël Szwarc http://alt.textdrive.com/lua/ |
|---|
| 5 |
-- Creation Date: February 1, 2005 |
|---|
| 6 |
-- Legal: Copyright (C) 2005 Raphaël Szwarc |
|---|
| 7 |
-------------------------------------------------------------------------------- |
|---|
| 8 |
|
|---|
| 9 |
-- import dependencies |
|---|
| 10 |
local SMTPCommand = require( "SMTPCommand" ) |
|---|
| 11 |
|
|---|
| 12 |
-- define the class |
|---|
| 13 |
local super = SMTPCommand |
|---|
| 14 |
local self = super() |
|---|
| 15 |
|
|---|
| 16 |
-- method to run this command |
|---|
| 17 |
function self:run( aSession, someTokens ) |
|---|
| 18 |
aSession:reset() |
|---|
| 19 |
aSession:writer():writeln( "250 Requested mail action okay, completed" ) |
|---|
| 20 |
|
|---|
| 21 |
return true |
|---|
| 22 |
end |
|---|
| 23 |
|
|---|
| 24 |
return self |
|---|