Modifications maildatabase

Posted on 2005-04-18
Last Modified: 2013-12-18
I like to make two modifications to the mailtemplate and I need some code for this. First I like to implement a "Reply w/o attachment function" so the attachment will be removed when replying.
Second function I want to add is a icon in the first row, which will show if the email is a external mailmessage!
Does anybody have some examples?

Question by:luke1346
    LVL 46

    Expert Comment

    by:Sjef Bosman
    Apparently you don't have R6, since Reply without attachment is standard in R6. It might be easier to upgrade.

    The second is quite easy actually. I suppose you want an icon in the first column, if the mail comes from external? But what is the difference? Please define "external", is it all SMTP-mail, or all mail received from a source with an Internet-mail-address?

    Author Comment

    Hello Sjef

    I know....upgrade to R6 will help, but it's not possible on a short notice )-:

    I want a icon when the mail is SMTP mail (non notes mail).
    I thought to check if there is a SMPTORIGINATOR field. My problem is that the first column in the view already has some "complex" code to display other icons. I don't know how to adjust this code whitout destroying the already excisting functionality!

    LVL 46

    Accepted Solution

    If you want you can add another column for an icon.

    What's the current formula (there's only R6 here...)? It can easily be adapted, but you have to tell what has priority. The @If-statement is like this:
        @If(cond1; val1; cond2; val2; ....; val-else)
    So if condition1 is True, then the result will be value1, else if ... etc. You could add (say) a cond4 and a val4, like this
        ...; SMTPOriginator!=""; 130; ...
    which tells to use icon 130 (yellow closed envelope) when there is a field SMTPOriginator.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

      In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
    IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now