Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add string as allowed type for attachment #5678

Merged
merged 1 commit into from
Feb 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -5186,7 +5186,7 @@ function send_mail(array|string $to, string|array|null $from = null, string $sub
* @param null|string $subject Messgae subject
* @param null|string $body Message body, in HTML format
* @param null|string $body_text Messgae body, in TEXT format
* @param null|array $attachments Attachments to send
* @param null|array|string $attachments Attachments to send
* @param null|array $headers Custom headers
* @param boolean $html Assume HTML format
* @param boolean $expandIds Find log style xxx[nn] and expand to full names
Expand All @@ -5196,7 +5196,7 @@ function send_mail(array|string $to, string|array|null $from = null, string $sub
*/
function mailer(array|string $from, array|string $to, null|array|string $cc = null,
null|array|string $bcc = null, null|array|string $replyto = null, null|string $subject = null,
null|string $body = null, null|string $body_text = null, null|array $attachments = array(),
null|string $body = null, null|string $body_text = null, null|array|string $attachments = array(),
null|array $headers = array(), bool $html = true, bool $expandIds = false): string {
global $cacti_locale, $mail_methods;

Expand Down
Loading