Notifications
Clear all

bounced email to test@example.com

3 Posts
1 Users
0 Reactions
144 Views
Posts: 210
 fawp
Topic starter
(@fawp)
Reputable Member
Joined: 6 years ago

Related to https://wpforo.com/community/how-to-and-troubleshooting-2/testexample-com/

 

Hi guys, this is related to the topic above, but the solution in that topic is wrong.

 

whenever I click on the 'debug' tab in wpForo, wpForo is sending an email out as per the following code

$email   = "test@example.com";
	$subject = "Email Test";
	$message = "This is a mail testing email function on server";
	if( ! wp_mail( $email, $subject, $message ) ) {
		$issues['email']['wp_mail']['level']    = 3;
		$issues['email']['wp_mail']['message']  = __( 'WordPress Email sending function wp_mail() doesn\'t work!', 'wpforo' );
		$issues['email']['wp_mail']['solution'] = __( 'In most cases this is a server issue. We recommend you contact to your hosting service support team or open a support topic in wordpress.org support forum. Also there are many good articles regarding this issue in web. For example ', 'wpforo' ) . ' - <a href="https://www.wpbeginner.com/wp-tutorials/how-to-fix-wordpress-not-sending-email-issue/">' . __( 'How to Fix WordPress Not Sending Email Issue', 'wpforo' ) . '</a>';

 

This is the code in the /admin/tools-tabs/debug.php file, so this is a specific wpForo issue.

 

Do you have any plans to replace the $email with a variable that contains the email used by admins?

Thanks

fawp

Topic Tags
2 Replies
Posts: 210
 fawp
Topic starter
(@fawp)
Reputable Member
Joined: 6 years ago

Reminder: Do you have any plans to replace the $email with a variable that contains the email used by admins?

 

See above for context.

Reply
Posts: 210
 fawp
Topic starter
(@fawp)
Reputable Member
Joined: 6 years ago

Hi @sofy or @robert 

 

Pinging you directly as I have seen you active recently.

 

Have you had the chance to look at the request above please?

 

I believe this issue has had a real impact on my site: recently I had database issues (see other recent ticket).

To check for any problems I went into the wpForo Debug tab, which is when the email to test@example is generated.

 

My hosting provider blocked outbound emails around that time, and one reason they may have done it, is email messages bounced back from test@example were seen as spam attemps from me: not nice!

 

Thanks,

fawp

Reply