0

Email-button funktioniert nicht mehr

Seit gestern funktioniert der Button mit dem Script wie hier unten nicht mehr.

Es erscheint eine Fehlermeldung, die aber komplett leer ist:

Woran könnte das liegen? Bisher hat es jahrelang einwandfrei funktioniert.

 

for i in (select Shows)[Status = 4 and City = "Berlin" and (Billing = 1 or Billing = 5)] do
    createTextFile(i, "BEGIN:VCALENDAR

VERSION:2.0
PRODID:xxxxx
METHOD:REQUEST
CALSCALE:GREGORIAN
BEGIN:VEVENT
UID:" +
    format(i.Date, "YYYYMMDD") +
    i.Artist.Artist +
    "
SUMMARY:" +
    i.Artist.Artist +
    " @ " +
    i.Venue_Event.Name +
    "
DTSTART;TZID=Europe/Berlin:" +
    format(i.Date, "YYYYMMDDT") +
    format(i.Einlass, "HHmmss") +
    "
DTEND;TZID=Europe/Berlin:" +
    format(i.Date, "YYYYMMDDT") +
    text(number(format(i.Einlass, "HHmmss")) + 40000) +
    "
DTSTAMP:" +
    format(now(), "YYYYMMDDTHHmmss") +
    "
LOCATION:" +
    i.Venue_Event.Name +
    ", " +
    i.Venue_Event.Address +
    "
URL:" +
    i.Ticketlink +
    "
STATUS:CONFIRMED
TRANSPARENCY:OPAQUE
END:VEVENT
END:VCALENDAR", format(i.Date, "YYYYMMDD") + i.Artist.cleanedbandname + ".ics")
end;
sendEmail({
    from: userEmail(),
    to: userEmail(),
    subject: "ics",
    text: "",
    html: "",
    attachments: for i in (select Shows)[Status = 4 and City = "Berlin" and (Billing = 1 or Billing = 5)] do
        file(i, format(i.Date, "YYYYMMDD") + i.Artist.cleanedbandname + ".ics")
    end
})

 

1 Antwort

null
    • peter.8
    • vor 6 Tagen
    • Gemeldet - anzeigen

    es funktioniert jetzt nachdem ich

    do as server

    hinzugefügt habe am Anfang