-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHPMailer not always delivering #438
Comments
Why are you doing all that You don't need to set As far as delivery goes, you're sending via your local mail server, so you need to look in your mail server log to see what is happening as that's outside PHPMailer's control. |
I'm embeding the images like so. It seems like I'm redeclaring the $src inside the loop. I guess using smtp won't solve the issue. |
OK, so it looks like you can get rid of $currImg and $src then. So what does your mail server say? |
sadly I don't have access to a mail log, but I'll try it with smtp, maybe this will solve the problem |
Hey, I'm having problems with the php mailer.
I'm having a little webapp, where the user uploads images. These images then are embeded to an email and (together with a pdf) put inside a zip and attached to the email.
This email then is sent to the user and the host of the site.
The email is sent automatically in two ways: one way the user klicks a link where the php-script is fired.
The second way is via paypal - after purchase the user is redirected to the php-page which automatically sends the email.
BUT, the emails aren't delivered all the time.
This is a huge problem especially after the paypal-purchase, since the email is essential for further steps and the customer already paid.
When I test it from my computer, it mostly works (is there any connection since it's the same computer...I don't know)
Here's the code
[...]generate pdf, zip file, set content for email and so on[...]
[...]Delete session,zip, files, and so on[...]
I really hope you can help me
The text was updated successfully, but these errors were encountered: