Re: MailBox messages relay - WeOnlyDo Discussion board

Re: MailBox messages relay (General questions)

by wodDrazen, Monday, September 04, 2006, 15:08 (6415 days ago) @ centurion

Hi,

You can use FileName Property which is part of SmtpMessage Object in wodSmtpServer.
FileName Property determines filename where message is stored.
If you prefer keeping all received mail in same file, you should always set FileAppend Property to True after specifying Filename to store new messages.

I presume that you are using wodMailbox for parsing messages. You must save that message after parsing if you change something. You can that add that message to Add Method in wodSmtpServer for relaying. Add Method is part of SmtpRelays Object.

More help for FileName Property you can find here:
http://www.weonlydo.com/SmtpServer/Help/WODSMTPSERVERLib~SmtpMessage~Filename.html

More help for FileAppend Property you can find here:
http://www.weonlydo.com/SmtpServer/Help/WODSMTPSERVERLib~SmtpMessage~FileAppend.html

More help for Add Method you can find here:
http://www.weonlydo.com/SmtpServer/Help/WODSMTPSERVERLib~SmtpRelays~Add.html

Hope this helps.


Regards,
Drazen


Complete thread: