Autor Thema: Dispatcher manuell und periodisch  (Gelesen 9716 mal)

Offline m3

  • Freund des Hauses!
  • Gold Platin u.s.w. member:)
  • *****
  • Beiträge: 8.102
  • Geschlecht: Männlich
  • Non ex transverso sed deorsum!
    • leyrers online pamphlet
Re: Dispatcher manuell und periodisch
« Antwort #20 am: 26.03.08 - 12:48:25 »
Deutsche Berufskleider-Leasing ?
Du möchtest Deine Postings ev. etwas mehr anonymisieren.
HTH
m³ aka. Martin -- leyrers online pamphlet | LEYON - All things Lotus (IBM Collaborations Solutions)

All programs evolve until they can send email.
Except Microsoft Exchange.
    - Memorable Quotes from Alt.Sysadmin.Recovery

"Lotus Notes ist wie ein Badezimmer, geht ohne Kacheln, aber nicht so gut." -- Peter Klett

"If there isn't at least a handful of solutions for any given problem, it isn't IBM"™ - @notessensai

Thobz

  • Gast
Re: Dispatcher manuell und periodisch
« Antwort #21 am: 26.03.08 - 12:52:56 »
Hallo m3,

habe es getan. Wo ist den das Problem ? Mich würde es nicht stören, wenn jemand
weiß aus welcher Firma ich komme. Aber DBL steht für etwas anderes :-).


Thomas

Offline Thomas Schulte

  • @Notes Preisträger
  • Moderator
  • Gold Platin u.s.w. member:)
  • *****
  • Beiträge: 4.388
  • Geschlecht: Männlich
  • Ich glaub mich tritt ein Pferd
Re: Dispatcher manuell und periodisch
« Antwort #22 am: 26.03.08 - 13:46:24 »
Das hier ist die Stelle an der das passieren sollte:
Code
Sub CreateTicketNotificationMail(db As notesdatabase)
%REM
###################################################################################
Goal:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Arguments: Description:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Return:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Example:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VERSION / WHEN / WHO / CHANGES
'###################################################################################
%END REM
On Error Goto ERRHANDLE
Dim item As notesitem
Dim itemname As String
Set newdoc = db.GetDocumentByUNID(newticketunid)
' Check if the document should be mailed immediate
If MailnewdocInformation = "YES" Then
If MailnewdocAsSummary = "YES" Then
        ' save the content of this document to a list. The field Asubject is used
If Iselement(newticketdocumentEntryList(newdoc.Universalid)) = False Then
newticketdocumententrylist(newdoc.UniversalID).doclink = newdoc.UniversalID
newticketdocumententrylist(newdoc.UniversalID).docsummary = ""
itemname = GetConfigDocByKey("MailIfNewMailResponseBodyFieldName")
If itemname <> "" Then
Set item = newdoc.GetFirstItem(itemname)
If Not item Is Nothing Then
newticketdocumententrylist(newdoc.UniversalID).docsummary = item.Values
End If
End If
End If
Else
rcpt = Split(MailnewDocInformationUserName, ";")
Forall r In rcpt
' do not send mail if said so for the default supporter
If MailNewDocToDefaultSupporter <> "YES" And r = GetConfigDocByKey("DefaultSupporter") Then
Else
        ' send this document as mail
If  GetConfigDocByKey("MailIfNewMailResponseLink") = "YES" Then
Boollink = True
Else
Boollink = False
End If
OKI = Spoofmessage(_
GetConfigDocByKey("sendMailonBehalfof"),_
r, _
"",_
interactivemessages("msgDispatchNotificationMailNewDocSubjectSingleMail"),_
interactivemessages("msgDispatchNotificationMailNewDocBodySingleMail"),_
newdoc,_
GetConfigDocByKey("MailIfNewMailResponseSubjectFieldName"),_
GetConfigDocByKey("MailIfNewMailResponseBodyFieldName"),_
BoolLink,_
False,_
"BugReport",_
"IsNewMail")
End If
End Forall
End If
End If
EXITPOINT:
Exit Sub
ERRHANDLE:
Call LogError
Resume EXITPOINT
End Sub
Wenn du in der Forall Schleife ein paar Prints absetzt müsstest du rausbekommen ob und was er da auf dem Server macht.
Thomas Schulte

Collaborative Project Portfolio and Project Management Software

"Aber wo wir jetzt einmal soweit gekommen sind, möchte ich noch nicht aufgeben. Versteh mich recht, aufgeben liegt mir irgendwie nicht."

J.R.R.Tolkien Herr der Ringe, Der Schicksalsberg

OpenNTF Project: !!HELP!! !!SYSTEM!!  !!DRIVER!!

Skype: thomasschulte-kulmbach

Thobz

  • Gast
Re: Dispatcher manuell und periodisch
« Antwort #23 am: 27.03.08 - 11:04:03 »
Hallo,

erstmal vielen Dank für deine Mühe und viele Hilfe.
Im Moment fehlt leider die Zeit um der Sache genau auf den Grund
zu gehen, ich denke ich were mich am Samstag mal in Ruhe an die Sache machen.

Gruß aus dem hohen Norden,

Thomas

 

Impressum Atnotes.de  -  Powered by Syslords Solutions  -  Datenschutz