Skip to content

Error when sending in Roundcube 0.8-beta "PHP Fatal error: Call to undefined method rcube_imap::get_headers()" #2

Description

@adamast

PHP Fatal error: Call to undefined method rcube_imap::get_headers()

function get_headers() no longer exists and an error is produced when sending message. Fixed by:

comment out line 68

comment out line 74

add below line 68

$user = $rcmail->user->get_username();

add below line 74

resent['From'] = $user." <".$user.">";

This solution is better because the Resent From field will be populated by the actual username of the logged in account and not the email of the original recipient of the bounced email. For example, a spam catch-all inbox will have many different recipients that are probably not the email address of the account being used.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions