TobinShields / Zaqar_EmailSpoofer

A powerful PHP email spoofer with a polished UI, rich text editor, and multiple sending options.
GNU General Public License v3.0
119 stars 53 forks source link

error sending mails #2

Closed lacosted closed 5 years ago

lacosted commented 5 years ago

i always get the following error "Awe Snap! Your message was not sent. Something went wrong with the PHP mail() function and is returning a value of FALSE. Chances are if you are seeing this message it means that it could not reach out to the SMTP server. Make sure that the webserver you are running is configured to also point to a mail server."
when trying to send mail what how could i overcome this smtp poining.

TobinShields commented 5 years ago

Hey--not sure. This program is designed to work seamlessly on a server that already has PHP and SMTP enabled and working. What are you currently running the app on?

Donas01 commented 5 years ago

Hi, i Have the same issue, i'm using a local provider as a webhost woking under Cpanel and the server has already php&smtp enabled.

Evilvir-us commented 5 years ago

I had what i think is the same problem, it failed when sending emails without an attachment. using smtp-relay.sendinblue.com changed line 77 in mailer.php from:

$mail->addAttachment($path); // Add attachments

to:

if (!empty($fileTempName)) { //checks to see if a file was attatched
    $mail->addAttachment($path);         // Add attachments
}

then it worked

wioxjk commented 5 years ago

I had what i think is the same problem, it failed when sending emails without an attachment. using smtp-relay.sendinblue.com changed line 77 in mailer.php from:

$mail->addAttachment($path); // Add attachments

to:

if (!empty($fileTempName)) { //checks to see if a file was attatched
    $mail->addAttachment($path);         // Add attachments
}

then it worked

Thanks, this solved it! I had the same problem.

zeliserzz commented 3 years ago

And how to make sure that letters do not end up in spam?)