Tag Info

Hot answers tagged

2

If and when you are using wp_mail(), then you can just set Reply-To for the $headers parameter. Exemplary usage below: $to = "abc@def.gh"; $subject = "Using Reply-To with wp_mail"; $message = "This is an example for using Reply-To with wp_mail."; $headers = array( 'Reply-To' => "Name Name <ijk@lmn.op>" ); $attachments = ...


1

There are many WordPress plugins that let you manage your email subscription. But overall this is not recommended, mainly because it creates a heavy load on the server. What will inevitably create a problem with the hosting service. In my experience, it is advisable to work with professional external services. For various reasons among which I highlight: ...


1

What you need to do is to modify the code that sends the email to the author and in it set the "reply-to" header of the email, pass it as part of the headers parameters to wp-mail. Your code should be something like (adapted from the php mail function documentation). $to = 'author@example.com'; $subject = 'new comment'; $message = 'hello'; $headers = ...



Only top voted, non community-wiki answers of a minimum length are eligible