NamelessMC

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

Bug SMTP PHPMailer Issues.
Started by RedstoneGamerMC

RedstoneGamerMC

RedstoneGamerMC

Member
Joined
28 Dec 2018
Last Seen
13 May 2020
Topics
2
Posts
2
Hello, I have been using this software for a long time but I haven't messed around with it very much. and I recently switched email hosting providers and their username system is different than my old one. They use a plain username system without the @hosting.something at the end its just a username. Example: username: emailuseronetwo and the email address assoicated with the username would be something like [email protected] and whenever I put the username in it gives me an error: Test email error:
Invalid address: (setFrom) emailuseronetwo

I am using version 2.0.0-pr4

P.S. Whenever I use emailuseronetwo its not my real username for the email host just rather not give the username out. Also sorry if this is the wrong label, I'm new to the forums.
RedstoneGamerMC · over 6 years ago
Samerton

Samerton

Owner
Joined
30 Mar 2015
Last Seen
23 Dec 2024
Topics
41
Posts
1076
Hi,

Try editing the file core/classes/Email.php in a text editor, and find this line.

Change it to $mail->Username = 'emailuseronetwo'; (replacing the username with your actual username), and change the username in the AdminCP email settings to the full email address (eg [email protected])
Samerton · over 6 years ago