Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Re: New Product!

Quote Reply
Re: New Product! In reply to
Alex, maybe it doesn't matter much, but here's the problem in another view.

(Mail is _not_ my strong point, I freely admit it, but I've suffered enough with MSIE/outlook trying to send HTML documents from my server that at least I've hit enough problems to know it's not simple.)

Servers can negotiate which pages to return based on the AddLanguage and content handlers (Apache at least).

They can chose a set of templates to return to the user, with the right content heading to allow display in that browser. It's up to the browser to take the content header and do soemthing with it. But it's up to the server to send the right content header (and to the mailer program to put the right one on).

This is one-directional. The browser asks for a file, the server decides which to send, the browser displays it.

We've added another layer to this. We want to send content BACK to the server, that is then stored, processed or sent out. The browser sends a content header, the server responds to it (maybe) but then it's "lost".

We have a server running in a language (probably english). It's hosting pages in primarily Arabic (based on configuration, content handlers, whatever). Data coming in to the scripts is in arabic, and the content codes sent are in Arabic. What happens if an English user connects, or tries to read the sent file? If the wrong output set is loaded into the browser, you'll get gibberish.

If a user logs on in an arabic browser, requests the arabic templates, then attempts to send an English message, how on the other end do you know what to do? (assuming both users are on the same system?).

Or, the scripts have accepted the raw data from the browser, which is in Arabic. These character codes are fine, the server just stores them. Now, the file is sent, but without a content header on the mail message the end user has no idea what language they are in.

What if the user connects in Arabic, but the mail message was coded in English? Should the mail program send the English template set as an override, and force the browser to go get the characters, or just present the gibberish?

Do you see the potential problem? We aren't just talking server negotiation with the browser for a user session, we are then taking the result of that session, and sending it out into the world. Or, we are accepting something from the rest of the world, and trying to read it.

Maybe there isn't a problem, and all this has been incorporated into the base protocols. But, somehow I don't think so <G>.

Maybe at the least the system has to add a content header into the mail messages to allow proper handling?


such as:
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit


or:
Content-type: text/plain; charset=us-ascii; x-mac-type="54455854";
x-mac-creator="4D4F5353"
Content-transfer-encoding: 7bit
X-Accept-Language: en


I ran through my mail files, and not all this information is added to every message. Some, MIME-type mailers add this. But, files going through the sendmail system from a program pipe only have what is manually added to them.





Subject Author Views Date
Thread New Product! Alex 10495 May 14, 2000, 6:44 PM
Thread Re: New Product!
Robert 10324 May 16, 2000, 8:17 AM
Thread Re: New Product!
Alex 10307 May 16, 2000, 8:24 AM
Thread Re: New Product!
Robert 10280 May 16, 2000, 9:32 AM
Post Re: New Product!
Alex 10271 May 16, 2000, 11:24 AM
Thread Re: New Product!
sgabriel 9877 May 25, 2000, 4:06 AM
Thread Re: New Product!
pugdog 9869 May 25, 2000, 12:20 PM
Post Re: New Product!
sgabriel 9823 May 26, 2000, 6:25 AM
Thread Re: New Product!
Curt 10330 May 16, 2000, 8:39 AM
Post Re: New Product!
Alex 10297 May 16, 2000, 8:48 AM
Thread Re: New Product!
Elijanio 10254 May 16, 2000, 4:29 PM
Post Re: New Product!
Alex 10227 May 16, 2000, 4:30 PM
Thread Re: New Product!
theguy 10207 May 17, 2000, 1:01 AM
Thread Re: New Product!
Alex 10123 May 17, 2000, 10:55 AM
Thread Re: New Product!
theguy 10129 May 17, 2000, 11:05 AM
Thread Re: New Product!
pugdog 10103 May 17, 2000, 12:07 PM
Post Re: New Product!
theguy 10096 May 18, 2000, 1:07 AM
Thread Re: New Product!
Alex 10011 May 18, 2000, 10:48 AM
Post Re: New Product!
pugdog 9985 May 18, 2000, 11:43 AM