Planning Analytics

 View Only
  • 1.  Share via email -> office365 setup (smtps url)

    Posted Thu December 29, 2022 01:48 PM
    I want to enable sharing via email, and have been able to activate the tab. The sending of an email is failing. The environment is using an office365 domain. I've an email connector which is working for a different application to send email. This connector is now also configured to accept the IP of the PAW server. I know that it has to use port 25, no ssl, and no tls (I know, not the best options).

    Does someone know how I should set up the smtps url exactly?

    ------------------------------
    edgar koster
    ------------------------------

    #PlanningAnalyticswithWatson


  • 2.  RE: Share via email -> office365 setup (smtps url)

    Posted Tue January 03, 2023 12:39 AM
    Try the following - ensure you include a null value for SENDGRID_API_KEY:

    $env:ENABLE_EMAIL="TRUE"

    $env:EMAIL_SMTP_URL="smtp://smtpserver.company.domain:25"

    $env:EMAIL_FROM="noreply@company.domain"

    $env:SENDGRID_API_KEY=""



    ------------------------------
    Paul Coggan
    ------------------------------



  • 3.  RE: Share via email -> office365 setup (smtps url)

    Posted Thu January 05, 2023 01:32 AM
    Thanks Paul.

    Haven't had luck to get it up yet. I'll see if I can change the level of logs, or see in the o365 logs if I can get the incomming request. Currently I'm following the information from this thread and the url bellow.
    https://www.ibm.com/docs/en/planning-analytics/2.0.0?topic=2wnj12-enable-email-notifications-in-planning-analytics-workspace-local

    ------------------------------
    edgar koster
    ------------------------------



  • 4.  RE: Share via email -> office365 setup (smtps url)

    Posted Tue January 10, 2023 03:57 AM
    I'm getting error 500 in wa proxy log. Strangely enough the body of the response is mentioning port 25, but the url is "smtps://USER:PASSWORD@SERVER:587?ignoreTLS=true"

    I know for a fact that the server is correct (it should also accept port 25 for I have a different app using that). I tried 25 too, no luck. I've enable the outbound port 25 and 587 in the firewall (azure server). I don't understand why the log mention port 25 if the port I use is 587 though

    ------------------------------
    Edgar Koster
    ------------------------------



  • 5.  RE: Share via email -> office365 setup (smtps url)

    Posted Wed January 11, 2023 02:01 AM

    Hi Edgar

     

    The port 25 is intended to use with standard, not secure protocol smtp.

     

    In case of newest and suggested to use secure protocol smtps the standard port is mentioned 587.

     

    So, I you would like to  use the 25 port, then you have to use smtp instead of smtps.

     

    Robert Klingiert

    Solutions Architect & Team Leader BI&ERP

     

     

    S&T Services Polska Sp. z o.o. | ul. Postępu 21 D, 02-676 Warszawa | www.snt.pl | LinkedIn | Facebook | Twitter

    T: +48 22 535 95 00 | F: +48 22 53 59 597 | M: + 48 601336632|e-mail: robert.klingiert@snt.pl

     

    Sąd Rejonowy dla m.st. Warszawy XIII Wydział Gospodarczy | KRS 0000029743 | NIP 526-03-00-641 | Kapitał Zakładowy 1 060 000,00 PLN | nr BDO 000002723

    Treść tej wiadomości wraz z załącznikami może być poufna. Jeśli nie jest Pan(i) jej zamierzonym adresatem informujemy, że wykorzystywanie i/lub dystrybucja treści w niej zawartych jest zabronione.
    Jeśli otrzymał(a) Pan(i) wiadomość w wyniku błędu, prosimy bezzwłocznie zawiadomić o tym nadawcę, a następnie usunąć ją ze swojej skrzynki pocztowej wraz ze wszystkimi jej kopiami.

    Administratorem Państwa danych osobowych, pozyskanych w związku z prowadzoną korespondencją, są  spółki z grupy  S&T AG mające siedzibę w Polsce.

    Państwa dane osobowe będą przetwarzane w zakresie niezbędnym do prowadzenia korespondencji oraz w celach z niej wynikających.
    Więcej informacji o przetwarzaniu  danych osobowych, w tym o przysługujących Państwu prawach, znajduje się w
    Polityce Prywatności..

    S&T jest dużym przedsiębiorcą w rozumieniu ustawy o przeciwdziałaniu nadmiernym opóźnieniom w transakcjach handlowych - oświadczenie.