> Sending mails fails with message : 550 : <> ... User unknown
> Does someone know why this error occurs ?
are you using TMailRecipients.SetAll ?
I've seen this error message once.
Check the result from TMailRecipients.GetAllNames and GetAllAddresses.
Your problem may be something like these:
1. The number of addresses is less than the number of names.
2. There is a comma at the end of GetAllAddresses result.
3. There is an empty(null string) Address.
I stopped using TMailRecipients.SetAll utility routine
because of this.
Use TMailRecipients.Clear and TMailRecipients.Add(Name, Address)
instead. That works flawless.
/// Kunikazu Okada ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Teppi Technology LLC. (www.teppi.com)
Tokyo, Japan ___________________________________________///