*/ use RMail\Rmail; $mail = new Rmail(); /** * Set the from address of the email */ $mail->setFrom('Richard <*****@*****.**>'); /** * Set the subject of the email */ $mail->setSubject('Test email'); /** * Set high priority for the email. This can also be: * high/normal/low/1/3/5 */ $mail->setPriority('high'); /** * Set the text of the Email */ $mail->setText('Sample text'); /** * Set the HTML of the email. Any embedded images will be automatically found as long as you have added them * using addEmbeddedImage() as below. */ $mail->setHTML('<b>Sample HTML</b> <img src="background.gif">'); /** * Set the delivery receipt of the email. This should be an email address that the receipt should be sent to. * You are NOT guaranteed to receive this receipt - it is dependent on the receiver. */ $mail->setReceipt('*****@*****.**'); /**