Aegir 0.4-alpha5
Drush 6.x-3.0-alpha1
Hosting version that comes with Aegir alpha5
Drupal 6.15 (Aegir running under this version)
Apache 2.2.12 (Ubuntu)
PHP 5.2.10-2ubuntu6.4 with Suhosin-Patch 0.9.7
MySQL 5.1.37-1ubuntu5.1

Additional Drupal Modules in use in Aegir:
Return Path (http://drupal.org/project/returnpath)

Is this related to #486934: broken IPC communication on Drupal 6 (AKA "welcome email not being sent")?

When I have the Clients feature enabled and configured to "Automatically create user accounts for new clients." and "Send welcome mail to new clients." the clients are receiving the welcome email with an empty subject and body. I'm creating clients as the administrator user, not allowing clients to apply for accounts.

When I create new sites as administrator, the resulting emails (new site+one time login link), come through just fine.

CommentFileSizeAuthor
#4 client_mail.patch2.3 KBmig5

Comments

omega8cc’s picture

Category: support » bug

Yes, I experience the same. Blank emails again, old issue.

omega8cc’s picture

"Send welcome mail to new clients." is enabled, but client never receives e-mail with access details to the Aegir control panel (to manage his site only), while welcome e-mails with standard one-time login link to the created site is sent without issues.

See also: http://skitch.com/omega8cc/n7tbc/fullscreen

Tested many times on the latest head.

Anonymous’s picture

The original poster is correct, an email is sent but the contents are blank (it is not a case of the email *never* sending).

Looking into it

Anonymous’s picture

Status: Active » Needs review
StatusFileSize
new2.3 KB

I don't think this has worked since May 2009 when the frontend code was ported from Drupal 5. It looks half done, no key existed for drupal_mail and some other stuff.

omega8cc or timwood, can you please test this patch and confirm with me that it works? (I've tested it and it seems to, just want another set of eyes)

Cheers

omega8cc’s picture

Just tested and it works!
Both mails received after using signup: to created site and auto-created account in the Aegir.

Thanks! =)

~Grace

Anonymous’s picture

Status: Needs review » Fixed

Pushed to git. Thanks!

timwood’s picture

mig5, thanks for creating a fix for this and thanks to omega8cc for testing it! Sorry I wasn't quicker to test the patch.

Status: Fixed » Closed (fixed)

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

conniec’s picture

Sorry to open a closed topic, but where do I apply the patch? I don't have a modules/hosting/client path.
Connie

  • Commit 6cd17b9 on 6.x-2.x, 7.x-3.x, dev-ssl-ip-allocation-refactor, dev-sni, dev-helmo-3.x by mig5:
    #726756 - fix to send welcome mail to clients
    

  • Commit 6cd17b9 on 6.x-2.x, 7.x-3.x, dev-ssl-ip-allocation-refactor, dev-sni, dev-helmo-3.x by mig5:
    #726756 - fix to send welcome mail to clients