Hello all,
I did some searching and was wondering if this script would work for a pop-up. Its going to prompt the user to use thunderbird for external e mail and not lotus notes. I am new to all of this because our IT guy up and quit and I am taking over his role until they hire someone else.
Where at in the email databases would I put this at?
Should the script look something like this:
choicelist:=“OK”;
title:=“External E mail”;
message:=“Please use Thunderbird for external e mail”;
choice := @Prompt([OkCancelList]:[NoSort];title; message ; “” ; choicelist);
@Prompt([Ok] ;“Contact your administrator if you don’t have Thunderbird Installed.”)
Sorry, I am not too familiar with Lotus notes designer/admin and writing scripts.
TIA,
Melkey C
Subject: Help with @Prompt script
Well, where you should put it would depend on when you want the message to appear. Can you be more specific about when the user should see the message?
I’m not real clear on what exactly you’re trying to accomplish with this. What you have shown will display two pop-up boxes, the first of which will show the user a “list” of choices that contains one item with the value of “OK”
Subject: RE: Help with @Prompt script
Steven,
Sorry, I am not that great at writing scripts.
We have our external mail, for notes, sent through another company’s server (we are tied in through our counties system) and they made some changes. Now we are not able to send external mail half of the time, so we set up thunderbird.
What I was looking for is for a pop up message to appear when someone tries to send anything externally. Something like “PLease use Thunderbird to send mail externally”. Everyone that has access to send external mail has thunderbird set up on their computer. The last IT guy was getting complaints before he up and quit about people not able to send external mail and now, I am as well. So I was trying to prompt the users to use Thunderbird instead.
Is there any way for a prompt to appear when they try to send external e mail? If so, how would I go about doing so and where would this script be placed?
Sorry, I am a hardware/networking type and I am not good at scripts/coding and I am new to lotus designer/admin.
TIA,
Melkey C
Subject: RE: Help with @Prompt script
That’s getting kind of sticky…messing with the mail file can often turn out to be very tricky. The code that’s already in there is kind of a mess. It’s also mostly in LotusScript, so you may not be able to use formula.
The simplest thing to do would probably be to check to see if the sendTo field has an “@” in it, and if so display the message. But it might be a bit tricky to find the best place to put it given the code that’s already there.
Subject: RE: Help with @Prompt script
Hi,
Your script will trigger always. You need to add a condition, first check if the mail is being sent to the external email, this you can check if the “TO” field does not have your mail domain name. If the Domain name is not in the “To” field, then write the code to pop up the message.
Sample code:
a:=@If(@Contains(ToField; “xxxx/xxxxxxxxxx”); “Internal”; “External”);
@if(a=“External”;prompt;send mail);
The above code is NOT the exact code, its just an Idea.
Hope this helps.
Regards,
Venkatesh Ramasamy