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

Pat Lockley patrick.lockley at googlemail.com
Wed Mar 7 12:15:26 GMT 2012


I guess when I use mail the php must have been set up to do so?

On Wed, Mar 7, 2012 at 12:11 PM, Tom Reijnders <reijnders at tor.nl> wrote:
> Pat, Oliver,
>
> This is a different error!, This one comes from the error_library, and there
> NO headers are passed to the php mail function.
> According to the php manual:
>
> Note:
>
> When sending mail, the mail must contain a From header. This can be set with
> the additional_headers parameter, or a default can be set in php.ini.
>
> Failing to do this will result in an error message similar to Warning:
> mail(): "sendmail_from" not set in php.ini or custom "From:" header missing.
> The From header sets also Return-Path under Windows.
>
>
> So, Oliver, you could try to set sendmail_from in your php.ini file.
>
> Pat, we definitely need to have a look at this and make sure everything is
> aligned.
>
> Tom
>
> Op 7-3-2012 12:44, Pat Lockley schreef:
>>
>> could you edit feedback/index.php?
>>
>> On Wed, Mar 7, 2012 at 11:41 AM, Oliver Haslam<Oliver.Haslam at uwe.ac.uk>
>>  wrote:
>>>
>>> Thanks for your help Tom. Still can't get it work here, though.
>>>
>>> I've attached a screenshot of the contents of my management.php and
>>> copied what I have in config.php and the error logs below.
>>>
>>> This is what is now in config.php:
>>>
>>>  /**
>>>     * Email settings
>>>     */
>>>
>>>    $xerte_toolkits_site->site_email_account = $row['site_email_account'];
>>>    $xerte_toolkits_site->headers = str_replace("*", "\r\n",
>>> $row['headers']);
>>>    $xerte_toolkits_site->email_to_add_to_username =
>>> $row['email_to_add_to_username'];
>>>
>>>    /**
>>>     * RSS Proxy settings
>>>     */
>>>
>>>    $xerte_toolkits_site->proxy1 = $row['proxy1'];
>>>    $xerte_toolkits_site->port1 = $row['port1'];
>>>
>>>    /**
>>>     * Set up the feedback list from the feedback page
>>>     */
>>>
>>>    $xerte_toolkits_site->feedback_list = $row['feedback_list'];
>>>
>>>
>>>
>>>
>>> And this is what I have in the error log after submitting something in
>>> the feedback form on the logged in page:
>>>
>>> mail() on [D:\shared\xerte\website_code\php\error_library.php:185]: To:
>>> simon2.carter at uwe.ac.uk -- Headers:
>>>
>>>
>>>
>>> _______________________________
>>>
>>> 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 20:40
>>> To: Xerte discussion list
>>> Subject: [Xerte] Re: Example email headers for Xerte install please.
>>> Anyone?
>>>
>>> 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.
>>>
>>>
>> _______________________________________________
>> 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



More information about the Xerte mailing list