Best practice forum (Archived)

Face-to-Face module confirmation emails

 
? ?
Face-to-Face module confirmation emails
بواسطة Wednesday, 3 July 2013, 7:28 AM - ? ?
 

We seem to have a problem with Face-to-Face module sending emails "from" the recipient and thereby being considered spam. At least we presume that's why they get mistreated.

Looking closer at the email headers (below) it actually includes a "proper" Return-Path address which is approved by SPF check - in fact this particular message wasn't treated as spam, coming via gmail, but our client's email client presumably overlooks the SPF stuff and labels it spam.
Is there a way to set a better From: address? I tried setting Course Contact — site.com/admin/settings.php?section=coursecontact — but that made no difference.

Delivered-To: me@webanywhere.co.uk 
Received: by 10.52.92.102 with SMTP id cl6csp52742vdb; Wed, 3 Jul 2013 05:12:51 -0700 (PDT) 
X-Received: by 10.42.41.210 with SMTP id q18mr357368ice.13.1372853570803; Wed, 03 Jul 2013 05:12:50 -0700 (PDT)  Return-Path: <learningnotifications@site.com> 
Received: from site.webanywhere.co.uk ([16.20.54.28]) by mx.google.com with ESMTP id gu10si35083icb.16.2013.07.03.05.12.50 for <me@webanywhere.co.uk>; Wed, 03 Jul 2013 05:12:50 -0700 (PDT)
Received-SPF: pass (google.com: domain of learningnotifications@site.com designates 16.20.54.28 as permitted sender) client-ip=16.20.54.28; 
Authentication-Results: mx.google.com; spf=pass (google.com: domain of learningnotifications@site.com designates 16.20.54.28 as permitted sender) smtp.mail=learningnotifications@site.com 
Received: by site.webanywhere.co.uk (Postfix, from userid 48) id 1E3262E886; Wed, 3 Jul 2013 13:12:50 +0100 (BST) 
To: "Aaaa A-Test" <me@webanywhere.co.uk> 
Subject: Test Training Course - Session Registration Confirmation - Session 1: Webinar, 11 July 2013 
X-PHP-Originating-Script: 0:class.phpmailer.php Date: Wed, 3 Jul 2013 13:12:50 +0100 
From: "Aaaa A-Test" <me@webanywhere.co.uk> 
? ?
Re: Face-to-Face module confirmation emails
بواسطة Wednesday, 3 July 2013, 8:37 AM - ? ?
 

addendum:

The Return-Path: address in the header is actually the site's Support Email address, as set here:

 /admin/settings.php?section=supportcontact

Yuliya Bozhko
Re: Face-to-Face module confirmation emails
بواسطة Tuesday, 9 July 2013, 6:53 PM - Yuliya Bozhko
 

Hi Alan,

I was trying to see if I can find anything about this issue, but it seems like there is not much information on Moodle community web site.

There might be a way of configuring SPF records for a domain you are using, but I am not an expert in this question.

Is it only Facetoface notifications issue or all emails from your web site go into spam folder?

Yuliya

? ?
Re: Face-to-Face module confirmation emails
بواسطة Tuesday, 16 July 2013, 9:33 AM - ? ?
 

All the built-in face to face notifications are being marked as spam as they contain the same from address as the recipient address. It seems a poor oversight and I can't think what would be the purpose of this arrangement. It looks as though we may have to do some core changes to fix this although hopefully it's not a large task.

Yuliya Bozhko
Re: Face-to-Face module confirmation emails
بواسطة Tuesday, 16 July 2013, 2:21 PM - Yuliya Bozhko
 

Hi Alan,

This is an intentional behaviour. Currently, users are getting emails from a user that performed an action in the system. So, if a user signed up for a f2f session, they will get email from themselves. If a manager/admin signed a user up for a session, they will get an email from a manager. This ensures that no emails are sent out on someones behalf without them knowing.

Yuliya