setFrom('p.para@gmx.de', 'Mailer'); $mail->addAddress('p.hoppe@gmx.de', 'Joe User'); //Add a recipient $mail->addReplyTo('p.para@gmx.de', 'Information'); $mail->addCC('p.para@gmx.de'); $mail->addBCC('dog@hope-fly.de'); //Attachments //Content $mail->Subject = 'jo subject jo XXXXX'; $mail->Body = 'XXXX This is the txt message bodyThis is the txt message body This is the txt message bodyThis is the txt message body'; $mail->send(); echo 'Message has been sent'; } catch (Exception $e) { echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}"; } ?>