Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8835993
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T09:23:24+00:00 2026-06-14T09:23:24+00:00

On drupal 6 i have the smtp module installed and i can’t figure out

  • 0

On drupal 6 i have the smtp module installed and i can’t figure out how to change the reply-to address.

In the “smtp.module” file I have added the lines:

$form['email_options']['smtp_replyto'] = array(
'#type'          => 'textfield',
'#title'         => t('Reply-to Email address'),
'#default_value' => variable_get('smtp_replyto', ''),
'#description'   => t('The reply-to E-mail address'),);

right after the line 181 where is the $form['email_options']['smtp_fromname'] decleration.

So this field shows up correctly in the administrative panel in the ‘SMTP authentication support’. I can’t figure out how to make the system take this address and replace it in the reply-to field of the email instead of the sender’s mail.

Any suggestion?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T09:23:26+00:00Added an answer on June 14, 2026 at 9:23 am

    You can use hook_mail_alter: http://api.drupal.org/api/drupal/developer!hooks!core.php/function/hook_mail_alter/6 to change it before the mail was sended.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Drupal 7 multi-language(3) website. I have installed the Internationalization (7.x-1.0-beta2) module.
I have Drupal 7 site which is working fine. I added a custom PHP
I'm a little new to drupal but have been using things like devel module
Iam a php developer, and iam new to drupal.I have installed a drupal site.
I have Drupal 6 installed with Ubercart 2.0. When an anonymous user purchases a
I have a Drupal 6.14 site with Views module. I have a view and
I'm working with the Zen theme in Drupal and have discovered that I can
I have a Drupal module page where I am populating a form with a
I have Drupal 7 installed in the root directory of my site. The .htaccess
I have drupal 7 installed on my live server. I want to edit the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.