|
From: Patrick Y. <kc...@ce...> - 2003-06-05 06:41:18
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"> <title></title> </head> <body> <blockquote type="cite" cite="mid...@s-..."> <div><span class="926525904-05062003"><font face="Arial" size="2">I agree that the address should be configurable by the client (in this case ebmail), possibly with a default from msh.properties.xml, but I don't think that the fromPartyId should be used to attempt to build an InternetAddress. PartyIds are multi-part (type attribute + string value) logical names that represent the sender of the ebXML message, whereas the SMTP from address is a string defined by an RFC that specifies the sender of the email. These aren't necessarily the same thing.</font></span></div> <div><span class="926525904-05062003"></span></div> </blockquote> <br> Ideally, this should pass through ToMshUrlResolver also. But we have to take care of ebMail usage. I guess we have to change the signature of Mail.send() to add the outgoing email address. Let me discuss with my colleague internally to determine any bad effect to do this.<br> <br> <blockquote type="cite" cite="mid...@s-..."> <div><span class="926525904-05062003"><font face="Arial" size="2">As it stands at the moment, I cannot send ebXML messages via mail from the PartyId <a class="moz-txt-link-rfc2396E" href="urn:MyBusiness">"urn:MyBusiness"</a>, because Mail.send() is hardcoded to create an InternetAddress from <a class="moz-txt-link-rfc2396E" href="urn:MyBusiness">"urn:MyBusiness"</a>, which just doesn't work.</font></span></div> <div><span class="926525904-05062003"></span> </div> <div><span class="926525904-05062003"><font face="Arial" size="2">I keep re-reading your first paragraph and I haven't got it yet. Can you explain a bit more please?</font></span></div> </blockquote> I just mean ebMail is required to set the sender address per message send (and not by default value), because the other side (e.g. another ebMail) will use that sender address for reply purpose.<br> <br> Regards, -Patrick<br> </body> </html> |