Hello, how to send email via php scripts after install roundcubemail?
I just installed iRedMail and roundcubemail works via UI. When I tried to send emails via php scripts, it seems hard to find the right function and params to use.
I found self::send_mdn($uid, $smtp_error) in sendmdn.php and deliver_message() in rcmail_sendmail.php, but the params seems too complex to mimic.
Is there any example for send email via php scripts?
Thank you!
problem fixed by using phpmailer and modified the /etc/postfix/main.cf by adding new self-signed ssl certificates. Thank you