I"m not a Drupal wiz so the problem may be elsewhere, but at the moment in smtp.module:869 we have:

'from' => $message['headers']['Sender'],

At least in mimemail I never see 'Sender' added to headers, but the smtp_mailengine is passed a sender as part of the $message array, so this should maybe be:

'from' => $message['sender'],

That change was apparently required on my end to use the mimemail() method in my own code (along with SMTP Auth).

CommentFileSizeAuthor
#3 694222.patch561 bytesattiks

Comments

TripleEmcoder’s picture

Confirmed.

It should be either:
'from' => $message['sender'],

Or:
'from' => $message['headers']['From'],

peterpoe’s picture

Version: 6.x-1.0-beta4 » 6.x-1.x-dev

Confirming still a bug in dev + subscribing.

attiks’s picture

Status: Active » Needs review
StatusFileSize
new561 bytes
franz’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Needs review » Patch (to be ported)

Thank you! Commited on 6.x-dev

Going to 7.x

franz’s picture

Status: Patch (to be ported) » Fixed

Commited on 7.x as well.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.