diff --git a/send-wp-mail.php b/send-wp-mail.php
index c56bcfb..24cd95e 100644
--- a/send-wp-mail.php
+++ b/send-wp-mail.php
@@ -120,16 +120,16 @@ function swpm_plugin_main() {
if ( $group_email === 'yes' ) {
if ( wp_mail( $email_to, $email_subject, $email_body, $headers, $attachments ) ) {
- $send_mail_message = '
' . __( 'Your email has been successfully sent!', 'swpm' ) . '
';
+ $send_mail_message = '' . __( 'Your email has been successfully sent!', 'swpm' ) . '
';
} else {
- $send_mail_message = '' . __( 'There was an error sending the email.', 'swpm' ) . '
';
+ $send_mail_message = '' . __( 'There was an error sending the email.', 'swpm' ) . '
';
}
} else {
foreach( $recipients as $recipient ) {
if ( wp_mail( $recipient, $email_subject, $email_body, $headers, $attachments ) ) {
- $send_mail_message .= '' . __( 'Your email has been successfully sent to ', 'swpm' ) . esc_html($recipient) . '!
';
+ $send_mail_message .= '' . __( 'Your email has been successfully sent to ', 'swpm' ) . esc_html($recipient) . '!
';
} else {
- $send_mail_message .= '' . __( 'There was an error sending the email to ', 'swpm' ) . esc_html($recipient) . '
';
+ $send_mail_message .= '' . __( 'There was an error sending the email to ', 'swpm' ) . esc_html($recipient) . '
';
}
}
}
@@ -145,7 +145,7 @@ function swpm_plugin_main() {
';
+ echo '';
foreach ($errors as $error) {
echo "- $error
";
}