5,562 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
39
views
Attaching an email as an attachment to another email in PHPMailer
I am trying to attach an email directly to another another email.
Here is the code:
$mailer = new PHPMailer();
$message = '<p>Some message body text<>';
$mailer->...
1
vote
1
answer
181
views
PHPMailer SMTP Error: Cannot assign requested address (99)
I'm trying to send an email using PHPMailer, but I'm getting the following error:
SMTP Error: Could not connect to SMTP host. Failed to connect to server SMTP server error: Failed to connect to server ...
-1
votes
1
answer
248
views
How to add profile picture (not sending an image or file) to emails in PHPMailer
I am trying to send an email with a profile picture using PHPMailer !
Specifically I mean adding a profile picture to the email (not sending an image or file).
Is it possible to add this feature to ...
0
votes
0
answers
77
views
Why has my SMTP connection started failing at STARTTLS using PHPMailer?
I have a hunch that it might be because something has gotten too old, but starting at roughly midnight May 1st 2025, the emails on one of my old webapps stopped working (and I just found out today).
...
0
votes
0
answers
54
views
How to correctly send EDI files via S/MIME to Australian Border Force (ABF) — "malformed PKCS#7" error
I'm building a system to send EDI (e.g., CUSCAR) files to the Australian Border Force (ABF) using S/MIME-encrypted email, but ABF is rejecting our messages with a generic "malformed PKCS#7" ...
3
votes
0
answers
91
views
How to send S/MIME email with MIME headers set to smime.p7m but actual attachment filename as timestamped .edi in PHP?
I'm trying to send a secure EDI email to the ABF via SMTP using PHP. The content must be encrypted and signed using S/MIME (PKCS#7).
Here's what ABF requires:
The MIME headers of the attachment must ...
-1
votes
1
answer
392
views
Unable to send mail via PHPMailer [SMTP->Error: Password not accepted from server: 535-5.7.8] [duplicate]
I've a PHP page that sends email upon submission. It was working fine but 2 days ago, it threw this message:
SMTP Error: Could not authenticate. Mailer Error: SMTP Error: Could
not authenticate.
My ...
0
votes
0
answers
34
views
PHPMailer With Vite
I cannot find any other question regarding this but I am capable of using PHPMailer with a local XAMPP server - however I have switched to a Vite server to use Three.js applications with. I want to ...
1
vote
0
answers
41
views
Keep Getting a 504 Error When I Run It On A Live Server
I uploaded a website on Godaddy and have a php file on there to send an email with PHPMailer from a form, but every time I clicked the send button I get a 504 Error. I ran it on a localhost and it ...
0
votes
1
answer
94
views
Location/Installation of PHPMailer [duplicate]
After doing a manual installation of PHPMailer, I can't get it to run, although everything seems to be right.
In my efforts to debug it, my impression is that it's failing on the 'require'. The path ...
JAC's user avatar
- 1,127
0
votes
0
answers
34
views
PHP Mailer Emails with the same sender, recipient and subject dont go into one email thread [duplicate]
Please image below. The sender is the same subject is the same email address of the sender is the same but they always go into separate email and not in one email thread as it should.
Below is my PHP ...
0
votes
0
answers
48
views
eureu phpmail Failed to connect to server: Connection refused (111)
hello I know error that I cannot resolve this eueu
2024年12月14日 17:48:11 SMTP ERROR: Failed to connect to server: Connection refused (111) 2024年12月14日 17:48:11 SMTP Error: Could not connect to SMTP host. ...
1
vote
1
answer
177
views
I can't receive emails from the Godaddy website contact form
When I send an e-mail, it says "Message sent successfully", but there is no e-mail in our e-mail box. Godaddy customer representative said that he made the spf setting. What should I do?
...
3
votes
1
answer
144
views
PHPMailer some emails blank
I have used PHPMailer for several years now with no issues but I'm now seeing issues on a few emails going out completely blank.
My code looks like this:
<?php
use PHPMailer\PHPMailer\PHPMailer;
...
-1
votes
1
answer
207
views
Sending email with php
I want to send emails through my php webapp, I always did it through phpmailer (a php library installed with composer) and a outlook account. But they have changed the authentication type (https://...