Advertisement

07.31.2007 at 12:42AM PDT, ID: 22730952
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.8

Lotus Notes - Auto-reply agent suddenly not working

Asked by kspuea in Lotus Domino Email Server, Lotus Notes

Tags: , ,

Hi all,

I have a problem with the Autoreply agent created in a mailbox.
The agent was created long ago and was working fine until recently it's stopped.
The agent should be running after a new mail arrived.
But now even I create a new agent, it just doesn't run at all.
When I tried to run it manually, then it sends the message out.

My user has "Manager" access and with all rights to this mailbox. And he has the rights to run the "restricted LotusScript/Java agents" on server too.

Anything I missed out? Can someone enlighten me?
Thanks very much in advance.

Here is my coding.
================================================================
Sub Initialize
      Dim sess As New NotesSession
      Dim db As NotesDatabase
      Dim dc As NotesDocumentCollection
      Dim doc As NotesDocument, maildoc As NotesDocument
      Dim itmAutoR As NotesItem
      Dim mailbody As NotesRichTextItem, bodyOrig As NotesRichTextItem
      Dim i As Integer
      
      On Error Goto ErrHandler
      Set db = sess.CurrentDatabase
      Set dc = db.UnprocessedDocuments
      
      For i = 1 To dc.Count
            Set doc = dc.GetNthDocument(i)
            If doc.HasItem("AutoReply") Then
                  'do nothing
            Else
                  If Trim(doc.From(0)) = "etravel@abc.com" _
                  Or Trim(doc.From(0)) = "CN=eTravel/OU=Users/O=ABC_Holdings" _
                  Or Ucase(Trim(doc.From(0))) Like "*WEBADMIN*" Then
                        'do nothing
                  Else
                        Set bodyOrig = doc.GetFirstItem("Body")
                        Set itmAutoR = New NotesItem(doc, "AutoReply", "Y")
                        Call doc.Save(True, False)
                        Set maildoc = New NotesDocument(db)
                        maildoc.Form = "Memo"
                        maildoc.SendTo = doc.From(0)
                        maildoc.CopyTo = "oacgi/Users/ABC_Holdings"
                        maildoc.SMTPOriginator = "eTravel@abc.com"
                        maildoc.From = "eTravel@abc.com"
                        maildoc.Principal = "eTravel"
                        maildoc.InternetAddress = "eTravel@abc.com"
                        maildoc.Subject = doc.Subject(0)
                        Set mailbody = New NotesRichTextItem(maildoc, "Body")
                        Call mailbody.AddNewLine(3)
                        Call mailbody.Appendtext("***THIS IS AN AUTOMATICALLY GENERATED ACKNOWLEDGEMENT***")
                        Call mailbody.AddNewLine(3)
                        Call mailbody.Appendtext("Thank you for your email.")
                        Call mailbody.AddNewLine(2)
                        Call mailbody.Appendtext("Your query is important to us.  We strive to respond to your queries within 2 working days.")
                        Call mailbody.AddNewLine(2)
                        Call mailbody.Appendtext("Your receipt of this automated response confirms that your email has been received.  It is therefore not necessary to send it to us again.")
                        Call mailbody.AddNewLine(2)
                        Call mailbody.Appendtext("Our working hours are Monday - Friday, 9:00am to 5:00pm.  We will be happy to assist you.")
                        Call mailbody.AddNewLine(3)
                        Call mailbody.Appendtext("Regards")
                        Call mailbody.AddNewLine(2)
                        Call mailbody.Appendtext("Etravel Admin")
                        Call mailbody.AddNewLine(1)
                        Call mailbody.Appendtext("---------------------------------------------------------------------------")
                        Call mailbody.AddNewLine(2)
                        Call mailbody.AppendRTItem(bodyOrig)
                        maildoc.PostedDate = Now
                        Call maildoc.send(True)
                        Call maildoc.Save(True, False)
                        Set maildoc = Nothing
                  End If
            End If
      Next
      
      Exit Sub
      
ErrHandler:
      Print "AutoReply-eTravel : Error at line " + Cstr(Erl) + " - " + Error$
      Exit Sub
End SubStart Free Trial
[+][-]07.31.2007 at 02:23AM PDT, ID: 19598707

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Lotus Domino Email Server, Lotus Notes
Tags: lotus, notes, agent
Sign Up Now!
Solution Provided By: sjef_bosman
Participating Experts: 7
Solution Grade: A
 
 
[+][-]07.31.2007 at 05:25AM PDT, ID: 19599626

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.31.2007 at 06:53AM PDT, ID: 19600314

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.31.2007 at 06:54AM PDT, ID: 19600319

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.31.2007 at 06:38PM PDT, ID: 19605711

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.01.2007 at 02:46AM PDT, ID: 19607298

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.01.2007 at 07:40PM PDT, ID: 19614202

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.02.2007 at 02:50AM PDT, ID: 19615549

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.02.2007 at 06:12AM PDT, ID: 19616498

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.02.2007 at 06:28AM PDT, ID: 19616646

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.10.2007 at 11:39PM PDT, ID: 19675030

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.11.2007 at 12:00PM PDT, ID: 19676655

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.13.2007 at 04:34AM PDT, ID: 19682928

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.13.2007 at 01:28PM PDT, ID: 19687396

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.13.2007 at 10:25PM PDT, ID: 19689627

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.16.2007 at 06:53PM PDT, ID: 19714170

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.28.2007 at 11:52AM PDT, ID: 19785806

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]11.11.2007 at 05:28AM PST, ID: 20258892

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-42