WordPress.org

Ready to get started?Download WordPress

Forums

Dreamgrow Scroll Triggered Box
[resolved] Configurable email? (4 posts)

  1. houseofstrauss
    Member
    Posted 8 months ago #

    The admin of the site is not always the appropriate person to receive the email. How can we change the send to email address please?

    It's probably somewhere here line-42 in index.php
    $emailTo = get_option('admin_email');

    maybe like this?? $emailTo = 'me@myemail.com';

    if (!isset($hasError)) {
                    $emailTo = get_option('admin_email');
                    $subject = __('Newsletter registration for ' . get_bloginfo('name'));
                    $body = __('Email') . ': ' . $email;
                    $headers = 'From: ' . $emailTo . "\r\n" . 'Reply-To: ' . $email;

    http://wordpress.org/plugins/dreamgrow-scroll-triggered-box/

  2. houseofstrauss
    Member
    Posted 8 months ago #

    Ok, done some testing and changing$emailTo = get_option('admin_email'); to $emailTo = 'me@myemail.com'; will change the email sendto address. Found in index.php line 42.

  3. pk2000
    Member
    Plugin Author

    Posted 3 months ago #

    Hello! We had a lond delay updating the plugin. The email address selection is now in the settings.

  4. houseofstrauss
    Member
    Posted 3 months ago #

    Thank-you! That update is Much appreciated

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.