DX NetOps

Expand all | Collapse all

Which format will use to send the email from ca spectrum alarm notifier

  • 1.  Which format will use to send the email from ca spectrum alarm notifier

    Posted Mar 06, 2019 01:21 AM

    Hi all,

     

    Can anyone tell me that Which format will use to send the email from ca spectrum alarm notifier whether it send the email in html , rich text or plain text..

     

    Thanks,

    john.



  • 2.  Re: Which format will use to send the email from ca spectrum alarm notifier

    Posted Mar 07, 2019 01:15 AM

    Hi all,

     

    Can anyone help me on this...please..

     

    Thanks,

    john.



  • 3.  Re: Which format will use to send the email from ca spectrum alarm notifier

    Broadcom Employee
    Posted Mar 07, 2019 06:44 AM

    Hi John,

     

    The notifications that are distributed automatically by email (via Alarm Notifier) are in plain text format.

     

    Thanks,

    Silvio



  • 4.  Re: Which format will use to send the email from ca spectrum alarm notifier

    Posted Mar 07, 2019 11:34 PM

    Hi Silvio,

     

    Thanks for your support ..

    And when i am sending the email to my SMTP server and from there to external SMS gateway. then we are receiving the text message as SMS . in that the email subject is getting UTF-8 base64 bit encoding .

    subject contains the =UTF-8?B?Wzgss?==

    so is there any possibilities to put the UTF-8 in the setscript or auto mail ..

    then may be it will solve this issue..

    can you help me in this...

     

    Thanks,

    john.



  • 5.  Re: Which format will use to send the email from ca spectrum alarm notifier

    Posted Mar 14, 2019 02:16 AM

    Hi All,

     

    Can anyone help me to resolve this issue..

     

    Thanks,

    john.



  • 6.  Re: Which format will use to send the email from ca spectrum alarm notifier

    Posted Mar 14, 2019 06:03 AM

    Hi John,

     

    There is a parameter in the "mail" command to specify the character set:

    charset=UTF-8

    You could try defining that in the MAIL variable in SetScript:

    $MAIL -a "Content-Type: text/plain; charset=UTF-8" -s "A $SEV alarm has occurred on $SERVER (Model Name=$MNAME)(Model Type=$MTYPE)" $RCVRS < /tmp/set_alarm.$PID

     

     

    Best regards,

    Zacchi



  • 7.  Re: Which format will use to send the email from ca spectrum alarm notifier

    Posted Mar 19, 2019 02:46 AM

    Hi Zacchi,

     

    When i am using the charset in the mail command it's showing the below error.

     

     

    Thanks,

    john.



  • 8.  Re: Which format will use to send the email from ca spectrum alarm notifier

    Posted Mar 19, 2019 03:38 AM

    Hi John,

     

    I have tried in my lab and didn't manage to make it work as well, but I found this option for using sendmail directly:

    unable to sent mail in html format by mailx command. 

     

    That may be what you're looking for.

     

    Best regards,

    Zacchi



  • 9.  Re: Which format will use to send the email from ca spectrum alarm notifier

    Posted Mar 21, 2019 03:54 AM

    Hi Zacchi,

     

    Is send mail inbuilt with ca spectrum.

    or we need to configure this in ca spectrum.

     

    Thanks,

    john.



  • 10.  Re: Which format will use to send the email from ca spectrum alarm notifier

    Posted Mar 21, 2019 04:04 AM

    Hi John,

     

    First, I'd suggest creating a sample script with this code and test to confirm that it works.

    Then, it would be a matter of adding this code to SetScript.

     

    Regards,

    Zacchi



  • 11.  RE: Which format will use to send the email from ca spectrum alarm notifier

    Posted Dec 09, 2022 08:39 AM
    Hello john! Yesterday I create a post regarding this.
    You got what you expected? 
    I have a client who needs to customize the emails.
    Regards,
    Guillermo