Category : phpmailer

I am using phpmailer to send emails. I want to attach some documents from URLs and they can be jpeg, pdf, or xls. Mail sent successfully but when I try to open the attachment it’s not working it says unable to open. Thanks in advance. $email->addStringAttachment(file_get_contents($filename),’test.xls’); //in case of xls $email->addStringAttachment(file_get_contents($filename),’test.pdf’); //in case of pdf ..

Read more

I have a slight issue with my code which I have been trying to handle. I am trying to send mail using php at different times in my project and most of them are user triggered. Since there are different mailing points and pages, I created a single mailing script where I send all the ..

Read more

Error/SMTP Debug I am using free Hosting These are the errors shown in the SMTP debug, I tried all the error rectifying method 2021-06-09 10:48:28 CLIENT -> SERVER: EHLO pro-online-grocery-store.000webhostapp.com 2021-06-09 10:48:28 CLIENT -> SERVER: STARTTLS 2021-06-09 10:48:28 CLIENT -> SERVER: EHLO pro-online-grocery-store.000webhostapp.com 2021-06-09 10:48:28 CLIENT -> SERVER: AUTH LOGIN 2021-06-09 10:48:28 CLIENT -> SERVER: ..

Read more