twisted.mail.test.test_mail.DummyQueue(object) class documentationtwisted.mail.test.test_mail
(View In Hierarchy)
A fake relay queue to use for testing.
This queue doesn't keep track of which messages are waiting to be relayed or are in the process of being relayed.
| Instance Variable | directory | See __init__. | 
| Method | __init__ | |
| Method | done | Remove a message from the queue. | 
| Method | getEnvelopeFile | Get the envelope file for a message in the queue. | 
| Method | getPath | Return the full base pathname of a message in the queue. | 
| Method | createNewMessage | Create a new message in the queue. | 
| Method | setWaiting | Ignore the request to mark a message as waiting to be relayed. | 
| Parameters | directory | The pathname of the directory holding messages in the queue. (type: bytes) | 
Remove a message from the queue.
| Parameters | message | The base filename of a message. (type: bytes) | 
Create a new message in the queue.
| Returns | The envelope file and a message receiver for a new message in the queue. (type: 2- tupleof (1)file,
(2)FileMessage) | |
Ignore the request to mark a message as waiting to be relayed.
| Parameters | message | The base filename of a message. (type: bytes) |