Send Email Default theme
Send Email
HIDE CODE
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | <?php echo "Click <a href='https://www.mailinator.com/v4/public/inboxes.jsp?to=xcrud'>here </a>to access the email that has just been sent! <br>" ; $xcrud = Xcrud::get_instance(); $emailBody = "Hey there. This is from xcrud.net!!" ; $subject = "Hey there from xCrud" ; $to = "xcrud@mailinator.com" ; $xcrud ->send_email_public( $to , $subject , $emailBody , $cc = array (), true); /* SMPT Mail configuration in file xcrud_config.php public static $mail_host = mail.gmail.com; public static $mail_port = 587; public static $smtp_auth = true; public static $username = xcrud17@gmail.com; public static $pass = abc123; public static $emailfrom = xCRUD Company; public static $smtpsecure = 'tls'; */ ?> |
Warning: stream_socket_enable_crypto(): Peer certificate CN=`*.web-hosting.com' did not match expected CN=`mail.xcrud.net' in /var/www/html/xcrud/demo/xcrud_1_7/xcrud/mailer/class.smtp.php on line 197
Language string failed to load: tls Failed to send email