Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Creating a Content-id

 [1/4] from: tim:johnsons-web at: 25-Oct-2001 12:05


Hello: I'm building a function for multi-part email messages. I'm looking at a working example that was sent to me. In the working example, I see the following cid header: Content-id: <00d801bfd046$f2c88960$[e6a7fea9--AWK]> I'm using the following code : random/seed now ..... enbase to-string random 1048565 ;and I get something like: OTY5ODMz ; My result is probably wrong, what do I need ; to do to get a more appropriate content-id? TIA -- Tim Johnson <[tim--johnsons-web--com]> http://www.johnsons-web.com

 [2/4] from: g:santilli:tiscalinet:it at: 26-Oct-2001 19:07


Hello Tim! On 25-Ott-01, you wrote: TJ> ; My result is probably wrong, what do I need TJ> ; to do to get a more appropriate content-id? I think CHECKSUM/SECURE might be of some help. (You could create some random string and then call CHECKSUM/SECURE on it...) Regards, Gabriele. -- Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/

 [3/4] from: tim:johnsons-web at: 26-Oct-2001 10:59


On Fri, Oct 26, 2001 at 07:07:42PM +0200, Gabriele Santilli wrote:
> Hello Tim! > > On 25-Ott-01, you wrote: > > TJ> ; My result is probably wrong, what do I need > TJ> ; to do to get a more appropriate content-id? > > I think CHECKSUM/SECURE might be of some help. (You could create > some random string and then call CHECKSUM/SECURE on it...)
Thank you Gabriele ... good tip. tj
> Regards, > Gabriele.
<<quoted lines omitted: 5>>
> [rebol-request--rebol--com] with "unsubscribe" in the > subject, without the quotes.
-- Tim Johnson <[tim--johnsons-web--com]> http://www.johnsons-web.com

 [4/4] from: allenk:powerup:au at: 27-Oct-2001 6:34


Hi Tim, The ID needs to be unique, and the allowable structure is defined in the RFC. So any method you choose is fine as long as it meets the RFC requirements. Some programs include the name of the generator or author in addition to a timebase and a random value, others produce more obscure combinations. Cheers, Allen K

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted