[Xerte] Re: Example email headers for Xerte install please. Anyone?

Tom Reijnders reijnders at tor.nl
Tue Mar 6 22:48:58 GMT 2012


I'll have a look and a proposal for the current build.

Op 6-3-2012 23:31, Pat Lockley schreef:
> That half rings a bell
>
> Maybe it is in peer review somewhere....
>
> It is used in the current build
>
> Nottingham has the values set
>
> On 6 Mar 2012, at 21:41, Tom Reijnders<reijnders at tor.nl>  wrote:
>
>> That is using 'email_error_list' as far as I can tell....
>> Can it be a leftover from before having a feedback list and an error list?
>>
>> We have to change the header thing anyway I think. XOT is creating html mails, so we should ALWAYS put in the content type header, and we can use the site_email_acount as the From header.
>>
>>
>>
>> Op 6-3-2012 22:22, Pat Lockley schreef:
>>> It might have been in error_libray.php?
>>>
>>> On 6 Mar 2012, at 21:18, Tom Reijnders<reijnders at tor.nl>   wrote:
>>>
>>>> Not in my install in feedback/index.php, and the mail function in feedback is not using site email account... at least not that I can see.
>>>>
>>>> I can't find any other instance of site_email_account
>>>>
>>>> find . -type f -exec grep site_email \{\} \; -ls
>>>>
>>>> returns only the locations in the code where the database is set.
>>>>
>>>> Op 6-3-2012 21:42, Pat Lockley schreef:
>>>>> site email account is for the feedback page install_url/feedback
>>>>>
>>>>> i think it might do the str_replace in the place headers is used (been
>>>>> so long it's all a bit vague)
>>>>>
>>>>> On Tue, Mar 6, 2012 at 8:39 PM, Tom Reijnders<reijnders at tor.nl>    wrote:
>>>>>> Had a look, and it's complicated...
>>>>>>
>>>>>> 1. I had to fix config.php, the line where the headers are set:
>>>>>> Change
>>>>>>
>>>>>>    $xerte_toolkits_site->headers = $row['headers'];
>>>>>>
>>>>>> in
>>>>>>
>>>>>>    $xerte_toolkits_site->headers = str_replace("*", "\r\n", $row['headers']);
>>>>>> (Line 194 in my installation)
>>>>>>
>>>>>> 2. The list of people who have to receive the feedback should be set in the
>>>>>> feedback list (Last item of the Site settings)
>>>>>> 3. The site email account is as of yet unclear to me
>>>>>> 4. An example of the headers is
>>>>>>
>>>>>> Content-Type: text/html; charset=ISO-8859-1*From: XOT<reijnders at tor.nl>
>>>>>>
>>>>>> 5. The site email to add to username is the email domain  name that is added
>>>>>> to a xot username in the case of peer to peer feedback of a user to another
>>>>>> user.
>>>>>>
>>>>>> This is working for me.
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Tom
>>>>>>
>>>>>> Op 6-3-2012 17:24, Oliver Haslam schreef:
>>>>>>> Thanks Tom. Does anyone else have 'email header' info already written in
>>>>>>> the mean time?
>>>>>>>
>>>>>>> Oli
>>>>>>>
>>>>>>> _______________________________
>>>>>>>
>>>>>>> Oliver Haslam
>>>>>>> Course Developer (Technologist)
>>>>>>> Applied Sciences&      Allied Health Professions
>>>>>>>
>>>>>>> Technology Enhanced Learning
>>>>>>> University of the West of England
>>>>>>> _______________________________
>>>>>>> T: 0117 32 88215
>>>>>>>
>>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: xerte-bounces at lists.nottingham.ac.uk
>>>>>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
>>>>>>> Sent: 06 March 2012 12:16
>>>>>>> To: Xerte discussion list
>>>>>>> Subject: [Xerte] Re: Example email headers for Xerte install please.
>>>>>>> Anyone?
>>>>>>>
>>>>>>> I haven't used it, but I'll give it a try and let you know.
>>>>>>> Mind you, I don't have time to do this before Thursday, so I invite
>>>>>>> someone else with a working configuration to answer before that.
>>>>>>>
>>>>>>> Tom
>>>>>>> Op 6-3-2012 12:55, Oliver Haslam schreef:
>>>>>>>> Can anyone share with me an example of what to write in the email headers
>>>>>>>> field when they installed Xerte on a web server?
>>>>>>>>
>>>>>>>> I need an example of what to put where it says the following in
>>>>>>>> management.php>       Site>       Email:
>>>>>>>>
>>>>>>>> "The site email headers is (use the * symbol to represent a new line)"
>>>>>>>>
>>>>>>>> Presumably this is the email TO, FROM, SUBJECT information etc. But I
>>>>>>>> have no idea what format it should be in.
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>>
>>>>>>>> Oli
>>>>>>>>
>>>>>>>> _______________________________
>>>>>>>>
>>>>>>>> Oliver Haslam
>>>>>>>> Course Developer (Technologist)
>>>>>>>> Applied Sciences&       Allied Health Professions
>>>>>>>>
>>>>>>>> Technology Enhanced Learning
>>>>>>>> University of the West of England
>>>>>>>> _______________________________
>>>>>>>> T: 0117 32 88215
>>>>>>>>
>>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>> From: xerte-bounces at lists.nottingham.ac.uk
>>>>>>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
>>>>>>>> Sent: 06 March 2012 11:26
>>>>>>>> To: Xerte discussion list
>>>>>>>> Subject: [Xerte] Re: feedback form on logged in page
>>>>>>>>
>>>>>>>> Been ages since I've done it, you might need to get someone to share
>>>>>>>> their install setting
>>>>>>>>
>>>>>>>> On Tue, Mar 6, 2012 at 10:30 AM, Oliver Haslam<Oliver.Haslam at uwe.ac.uk>
>>>>>>>> wrote:
>>>>>>>>> What should I put in the email headers field?
>>>>>>>>>
>>>>>>>>> _______________________________
>>>>>>>>>
>>>>>>>>> Oliver Haslam
>>>>>>>>> Course Developer (Technologist)
>>>>>>>>> Applied Sciences&       Allied Health Professions
>>>>>>>>>
>>>>>>>>> Technology Enhanced Learning
>>>>>>>>> University of the West of England
>>>>>>>>> _______________________________
>>>>>>>>> T: 0117 32 88215
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> -----Original Message-----
>>>>>>>>> From: xerte-bounces at lists.nottingham.ac.uk
>>>>>>>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat
>>>>>>>>> Lockley
>>>>>>>>> Sent: 06 March 2012 10:12
>>>>>>>>> To: Xerte discussion list
>>>>>>>>> Subject: [Xerte] Re: feedback form on logged in page
>>>>>>>>>
>>>>>>>>> Set the email headers option in management.php
>>>>>>>>>
>>>>>>>>> On Tue, Mar 6, 2012 at 10:08 AM, Oliver Haslam<Oliver.Haslam at uwe.ac.uk>
>>>>>>>>>    wrote:
>>>>>>>>>> Hi
>>>>>>>>>>
>>>>>>>>>> I THINK the site is now set up to send email. But I still can't get the
>>>>>>>>>> feedback form to successfully send emails to me. I'm not sure if it is a
>>>>>>>>>> setting that needs changing within Xerte or on the server itself.
>>>>>>>>>>
>>>>>>>>>> In the error log in management.php I get the following:
>>>>>>>>>> [D:\shared\xerte\feedback\index.php:42]: To:
>>>>>>>>>> oliver.haslam at uwe.ac.uk;
>>>>>>>>>> -- Headers: mail() on
>>>>>>>>>>
>>>>>>>>>> Any ideas what I should do next?
>>>>>>>>>>
>>>>>>>>>> Many thanks
>>>>>>>>>>
>>>>>>>>>> _______________________________
>>>>>>>>>>
>>>>>>>>>> Oliver Haslam
>>>>>>>>>> Course Developer (Technologist)
>>>>>>>>>> Applied Sciences&       Allied Health Professions
>>>>>>>>>>
>>>>>>>>>> Technology Enhanced Learning
>>>>>>>>>> University of the West of England
>>>>>>>>>> _______________________________
>>>>>>>>>> T: 0117 32 88215
>>>>>>>>>>
>>>>>>>>>> -----Original Message-----
>>>>>>>>>> From: xerte-bounces at lists.nottingham.ac.uk
>>>>>>>>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat
>>>>>>>>>> Lockley
>>>>>>>>>> Sent: 27 February 2012 16:26
>>>>>>>>>> To: Xerte discussion list
>>>>>>>>>> Subject: [Xerte] Re: feedback form on logged in page
>>>>>>>>>>
>>>>>>>>>> is your site set up to send email?
>>>>>>>>>>
>>>>>>>>>> php email functions can be turned off
>>>>>>>>>>
>>>>>>>>>> On Mon, Feb 27, 2012 at 3:16 PM, Oliver Haslam<Oliver.Haslam at uwe.ac.uk>
>>>>>>>>>>    wrote:
>>>>>>>>>>> How do I get the feedback form on the logged in page to work?
>>>>>>>>>>>
>>>>>>>>>>> I've put my email address in management.php under 'Site settings (HTML
>>>>>>>>>>> / Images)' where it says:
>>>>>>>>>>> "The site's feedback list is (A semi-colon separated list of email
>>>>>>>>>>> addresses to receive feedback from the feedback page)"
>>>>>>>>>>>
>>>>>>>>>>> And I've put my email address in management.php under 'Email' where it
>>>>>>>>>>> says:
>>>>>>>>>>> "The site email account is"
>>>>>>>>>>>
>>>>>>>>>>> But I still don't get anything when I test the form.
>>>>>>>>>>>
>>>>>>>>>>> Any suggestions?
>>>>>>>>>>>
>>>>>>>>>>> Thanks
>>>>>>>>>>>
>>>>>>>>>>> Oli
>>>>>>>>>>> _______________________________
>>>>>>>>>>>
>>>>>>>>>>> Oliver Haslam
>>>>>>>>>>> Course Developer (Technologist)
>>>>>>>>>>> Applied Sciences&       Allied Health Professions
>>>>>>>>>>>
>>>>>>>>>>> Technology Enhanced Learning
>>>>>>>>>>> University of the West of England
>>>>>>>>>>> _______________________________
>>>>>>>>>>> T: 0117 32 88215
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Xerte mailing list
>>>>>>>>>>> Xerte at lists.nottingham.ac.uk
>>>>>>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>>>>>>>>>
>>>>>>>>>>> This message and any attachment are intended solely for the addressee
>>>>>>>>>>> and may contain confidential information. If you have received this message
>>>>>>>>>>> in error, please send it back to me, and immediately delete it.   Please do
>>>>>>>>>>> not use, copy or disclose the information contained in this message or in
>>>>>>>>>>> any attachment.  Any views or opinions expressed by the author of this email
>>>>>>>>>>> do not necessarily reflect the views of the University of Nottingham.
>>>>>>>>>>>
>>>>>>>>>>> This message has been checked for viruses but the contents of an
>>>>>>>>>>> attachment may still contain software viruses which could damage your
>>>>>>>>>>> computer system:
>>>>>>>>>>> you are advised to perform your own checks. Email communications
>>>>>>>>>>> with the University of Nottingham may be monitored as permitted by UK
>>>>>>>>>>> legislation.
>>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Xerte mailing list
>>>>>>>>>> Xerte at lists.nottingham.ac.uk
>>>>>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>>>>>>>> This message and any attachment are intended solely for the addressee
>>>>>>>>>> and may contain confidential information. If you have received this message
>>>>>>>>>> in error, please send it back to me, and immediately delete it.   Please do
>>>>>>>>>> not use, copy or disclose the information contained in this message or in
>>>>>>>>>> any attachment.  Any views or opinions expressed by the author of this email
>>>>>>>>>> do not necessarily reflect the views of the University of Nottingham.
>>>>>>>>>>
>>>>>>>>>> This message has been checked for viruses but the contents of an
>>>>>>>>>> attachment may still contain software viruses which could damage your
>>>>>>>>>> computer system:
>>>>>>>>>> you are advised to perform your own checks. Email communications with
>>>>>>>>>> the University of Nottingham may be monitored as permitted by UK
>>>>>>>>>> legislation.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Xerte mailing list
>>>>>>>>>> Xerte at lists.nottingham.ac.uk
>>>>>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>>>>>>> _______________________________________________
>>>>>>>>> Xerte mailing list
>>>>>>>>> Xerte at lists.nottingham.ac.uk
>>>>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>>>>>>> This message and any attachment are intended solely for the addressee
>>>>>>>>> and may contain confidential information. If you have received this message
>>>>>>>>> in error, please send it back to me, and immediately delete it.   Please do
>>>>>>>>> not use, copy or disclose the information contained in this message or in
>>>>>>>>> any attachment.  Any views or opinions expressed by the author of this email
>>>>>>>>> do not necessarily reflect the views of the University of Nottingham.
>>>>>>>>>
>>>>>>>>> This message has been checked for viruses but the contents of an
>>>>>>>>> attachment may still contain software viruses which could damage your
>>>>>>>>> computer system:
>>>>>>>>> you are advised to perform your own checks. Email communications with
>>>>>>>>> the University of Nottingham may be monitored as permitted by UK
>>>>>>>>> legislation.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Xerte mailing list
>>>>>>>>> Xerte at lists.nottingham.ac.uk
>>>>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>>>>>> _______________________________________________
>>>>>>>> Xerte mailing list
>>>>>>>> Xerte at lists.nottingham.ac.uk
>>>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>>>>>> This message and any attachment are intended solely for the addressee and
>>>>>>>> may contain confidential information. If you have received this message in
>>>>>>>> error, please send it back to me, and immediately delete it.   Please do not
>>>>>>>> use, copy or disclose the information contained in this message or in any
>>>>>>>> attachment.  Any views or opinions expressed by the author of this email do
>>>>>>>> not necessarily reflect the views of the University of Nottingham.
>>>>>>>>
>>>>>>>> This message has been checked for viruses but the contents of an
>>>>>>>> attachment may still contain software viruses which could damage your
>>>>>>>> computer system:
>>>>>>>> you are advised to perform your own checks. Email communications with the
>>>>>>>> University of Nottingham may be monitored as permitted by UK legislation.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Xerte mailing list
>>>>>>>> Xerte at lists.nottingham.ac.uk
>>>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>>>>>>
>>>>>>> --
>>>>>>> --
>>>>>>>
>>>>>>> Tom Reijnders
>>>>>>> TOR Informatica
>>>>>>> Chopinlaan 27
>>>>>>> 5242HM Rosmalen
>>>>>>> Tel: 073 5226191
>>>>>>> Fax: 073 5226196
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Xerte mailing list
>>>>>>> Xerte at lists.nottingham.ac.uk
>>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Xerte mailing list
>>>>>>> Xerte at lists.nottingham.ac.uk
>>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>>>> --
>>>>>> --
>>>>>>
>>>>>> Tom Reijnders
>>>>>> TOR Informatica
>>>>>> Chopinlaan 27
>>>>>> 5242HM Rosmalen
>>>>>> Tel: 073 5226191
>>>>>> Fax: 073 5226196
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Xerte mailing list
>>>>>> Xerte at lists.nottingham.ac.uk
>>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>>> _______________________________________________
>>>>> Xerte mailing list
>>>>> Xerte at lists.nottingham.ac.uk
>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>>>> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>>>>>
>>>>> This message has been checked for viruses but the contents of an attachment
>>>>> may still contain software viruses which could damage your computer system:
>>>>> you are advised to perform your own checks. Email communications with the
>>>>> University of Nottingham may be monitored as permitted by UK legislation.
>>>>>
>>>> -- 
>>>> --
>>>>
>>>> Tom Reijnders
>>>> TOR Informatica
>>>> Chopinlaan 27
>>>> 5242HM Rosmalen
>>>> Tel: 073 5226191
>>>> Fax: 073 5226196
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Xerte mailing list
>>>> Xerte at lists.nottingham.ac.uk
>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>> _______________________________________________
>>> Xerte mailing list
>>> Xerte at lists.nottingham.ac.uk
>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>> -- 
>> --
>>
>> Tom Reijnders
>> TOR Informatica
>> Chopinlaan 27
>> 5242HM Rosmalen
>> Tel: 073 5226191
>> Fax: 073 5226196
>>
>>
>>
>> _______________________________________________
>> Xerte mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte

-- 
--

Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196





More information about the Xerte mailing list