Debian 9
Zabbix 3.4
I have created a media type for Gmail (disaster emails only)
everything is set up and the recipient is available and shown in the audit log

and I can send emails directly via the script:
but Zabbix audit shows an error message:
mail: No recipients specified
### edit ###
solved ;-)
As parallel processing of media types is implemented since Zabbix 3.4.0, it is important to note that with more than one script media type configured, these scripts may be processed in parallel by alerter processes. The total number of alerter processes is limited by the StartAlerters parameter.
Zabbix 3.4
I have created a media type for Gmail (disaster emails only)
everything is set up and the recipient is available and shown in the audit log

and I can send emails directly via the script:
HTML Code:
/usr/lib/zabbix/alertscripts/zabbix-sendmail [email protected] "Zabbix Mail" "Zabbix Body of the message here"
mail: No recipients specified
### edit ###
solved ;-)
As parallel processing of media types is implemented since Zabbix 3.4.0, it is important to note that with more than one script media type configured, these scripts may be processed in parallel by alerter processes. The total number of alerter processes is limited by the StartAlerters parameter.
HTML Code:
nano /etc/zabbix/zabbix_server.conf StartAlerters=5