Hi Isomorphic,
I'm having a problem with mail adresses JavaMail can not handle, like ABC, jun. <abcjun@test.com>. Here I get an error saying "Local address contains control or whitespace".
I checked what the toString() in InternetAddress.java does and it seems that an address can/should look like this: "ABC, jun." <abcjun@test.com> (with quotes).
But using it like this, I get this error: Missing '"'
My question now is how do you call JavaMail for the value of the <to> tag inside a <mail>-tag in .ds.xml (using 12.0p)?
Perhaps this way I can find out, how my email-address with a friendly name should look like.
Best regards
Blama
I'm having a problem with mail adresses JavaMail can not handle, like ABC, jun. <abcjun@test.com>. Here I get an error saying "Local address contains control or whitespace".
I checked what the toString() in InternetAddress.java does and it seems that an address can/should look like this: "ABC, jun." <abcjun@test.com> (with quotes).
But using it like this, I get this error: Missing '"'
My question now is how do you call JavaMail for the value of the <to> tag inside a <mail>-tag in .ds.xml (using 12.0p)?
Perhaps this way I can find out, how my email-address with a friendly name should look like.
Best regards
Blama
Comment