Relaying and BCC (General questions)
Hello,
I want to write an extended relaying with the SmtpServer and the wodMailbox.
I store the incoming messages in a file and later I load this file with the wodMailbox, because I want to add some special headers.
Thats all no problem, but how can I get the BCC-Addresses to relay to this addresses? I found no infos in the smtp-documentation to get the BCC-Addresses and the smtp-component don't store the BCC-Addresses in the messagefile.
Must I store the RCPT TO-Addresses separately and compare the addresses with the MailTo and CC in wodMailbox?
Greetings
Kai
Re: Relaying and BCC
Kairo,
what is BCC anyway? It's email address that is not visible in the message itself (inside headers) but is defined during SMTP protocol in RCPT TO: command. So, you will get this address in MailTo event, and it's your decision where you will save it and reuse later on. You could put it in some file where you could setup various config info for each email, most mail servers do it in the same way.
Re: Relaying and BCC
Hello,
thanks for your help.
By the way....
Great controls...
Regards
Kai