Notifications
Clear all

bounced email to test@example.com

7 Posts
2 Users
2 Reactions
297 Views
Posts: 212
 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
6 Replies
Posts: 212
 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: 212
 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
Posts: 212
 fawp
Topic starter
(@fawp)
Reputable Member
Joined: 6 years ago

@sofy reminder

Reply
3 Replies
Sofy
 Sofy
Admin
(@sofy)
Joined: 7 years ago

Support Team
Posts: 5324

@fawp 

The error message already provides details about the issue. I'm sorry, but there is nothing that we can provide you here.

Reply
 fawp
(@fawp)
Joined: 6 years ago

Reputable Member
Posts: 212

@sofy we're not understanding each other.

Please read the first post. Do you see the code?

$email   = "test@example.com";

 

You guys have hard-coded test@example.com into your plugin. Whenever the Debug tab is selected, an email is sent to test@example.com (which of course doesn't exist, and is bounced back).

 

Are you saying this is normal behavior??

 

Reply
Sofy
 Sofy
Admin
(@sofy)
Joined: 7 years ago

Support Team
Posts: 5324

@fawp 

This will be fixed in the next update.

Reply