[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

2160.0. "show company name on mail header" by JIT981::OOKUBO () Wed Jan 27 1993 07:08

	ALL-IN-1 Mail Header shows sender's name,department and TEL.
	My customer wants it to show a company name of a mail sender on
	a mail. But CAB$ DSAB does't have such attribute.

	Is it possible to add an attibute like a company name to a mail.
	Does anyone have any idea to implement this function.

	Regards,
	Yuko	
T.RTitleUserPersonal
Name
DateLines
2160.1Use the old SUBJECT field trick?GTI205::REDMONDThoughts of an Idle MindWed Jan 27 1993 15:136
You'll have to change the MAIL SEND option so that the person's company name
is extracted and placed into the unviewable (past character position 70) part
of the SUBJECT field.  Then change the mail boilerplates so that the company
information is extracted from SUBJECT and included in the output...

Simple, Tony
2160.2Another thought of another Idle MindBUSHIE::SETHIMan from DownunderThu Jan 28 1993 05:0015
    Hi Tony,           
    
    I am a bit unsure what Ookubo wants to achive.  If it's to send  Mail 
    message to another organisation as a X.400 mail message and this
    is what I think Ookubo wants to do, I am not so sure if your suggestion
    would work.  On the other hand I could be reading too much into the
    base note !!!
    
    I didn't know about the "unviewable" part of the subject field, can you
    tell me a little bit more please. What is it used for and how long is
    the subject field ?
    
    Just chipping in with my 2 cents, pence, rupees, yens worth :-),
    
    Sunil
2160.3thank youJIT981::OOKUBOThu Jan 28 1993 09:2112
    Thank you for your advice.
	
    Reading Tony's idea, I noticed that we could modify any attribute.
    Actually it's the best way that a mail has a company's attribute 
    or any substitutive attribute which we can use instead of a company's
    attribute. 

    I'm not sure if my customer try to connect another mail system.
    But I guess my customer accept this idea.

    Yuko
2160.4Making myself clearerGTI205::REDMONDThoughts of an Idle MindThu Jan 28 1993 11:1112
To amend the subject...

GET #SUBJECT = CAB$.SUBJECT[OA$CURMES]
GET #SUBJECT = #SUBJECT:70 "My company name"
WRITE CHANGE CAB$ %KEY = OA$CURMES, SUBJECT = #SUBJECT
MAIL SEND

People don't normally see past position 70 so when you receive the message 
you need to extract any data that's hanging around and stuff it into a field 
in a boilerplate...

Tony
2160.5Need a bit more clarification on your words of wisdomBUSHIE::SETHIMan from DownunderFri Jan 29 1993 03:238
    Hi Tony,
    
    All I have to say is that we all live and learn.  I never knew that you
    could extend the Subject field.  Is there a limit ?
    
    Regards,
    
    Sunil
2160.6IDNTCR::REDMONDThoughts of an Idle MindFri Jan 29 1993 08:461
    I believe it's around 160 characters...
2160.7Subjects can be pretty long, if no X.400 aroundIOSG::SHOVEDave Shove -- REO2-G/M6Mon Feb 01 1993 17:4210
    If the message goes through some kinds of foreign mail system, there is
    a limit on the subject (for exmaple, X.400 limits it to, I think, 128
    characters).
    
    There isn't really a limit in ALL-IN-1, other than the maximum length
    of a file cabinet attribute (about 1,920 characters). Obviously you'll
    waste space in the SDAF if you make all subjects ridiculously long
    though.
    
    Dave.