Re: MailBox messages relay (General questions)
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:
- MailBox messages relay - centurion, 2006-09-04, 14:14
- Re: MailBox messages relay - wodDrazen, 2006-09-04, 15:08
- Re: MailBox messages relay - centurion, 2006-09-04, 19:15
- Re: MailBox messages relay - wodSupport, 2006-09-04, 21:24
- Re: MailBox messages relay - wodSupport, 2006-09-04, 21:31
- Re: MailBox messages relay - wodSupport, 2006-09-04, 21:24
- Re: MailBox messages relay - centurion, 2006-09-04, 19:15
- Re: MailBox messages relay - wodDrazen, 2006-09-04, 15:08