<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.eprints.org/w/index.php?action=history&amp;feed=atom&amp;title=Email.pl</id>
	<title>Email.pl - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.eprints.org/w/index.php?action=history&amp;feed=atom&amp;title=Email.pl"/>
	<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Email.pl&amp;action=history"/>
	<updated>2026-04-26T18:56:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.8</generator>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Email.pl&amp;diff=14327&amp;oldid=prev</id>
		<title>Drn@ecs.soton.ac.uk: Added actually file name in bold.</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Email.pl&amp;diff=14327&amp;oldid=prev"/>
		<updated>2022-01-27T12:23:46Z</updated>

		<summary type="html">&lt;p&gt;Added actually file name in bold.&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 12:23, 27 January 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot; &gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{cfgd}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{cfgd}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;This file &lt;/del&gt;includes configuration for how email that EPrints needs to send should be sent.&amp;#160; By default this uses the ''send_mail_via_smtp'' function with the following line:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''email.pl''' &lt;/ins&gt;includes configuration for how email that EPrints needs to send should be sent.&amp;#160; By default this uses the ''send_mail_via_smtp'' function with the following line:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; $c-&amp;gt;{send_email} = \&amp;amp;EPrints::Email::send_mail_via_smtp;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; $c-&amp;gt;{send_email} = \&amp;amp;EPrints::Email::send_mail_via_smtp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This could be changed to the ''send_mail_via_sendmail'' function of bespoke function of your own.&amp;#160; If you define you own function it will be passed the following parameters:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This could be changed to the ''send_mail_via_sendmail'' function of bespoke function of your own.&amp;#160; If you define you own function it will be passed the following parameters:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Drn@ecs.soton.ac.uk</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Email.pl&amp;diff=14272&amp;oldid=prev</id>
		<title>Drn@ecs.soton.ac.uk: Added page about config file</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Email.pl&amp;diff=14272&amp;oldid=prev"/>
		<updated>2022-01-22T22:48:04Z</updated>

		<summary type="html">&lt;p&gt;Added page about config file&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{dirs}}&lt;br /&gt;
{{cfgd}}&lt;br /&gt;
&lt;br /&gt;
This file includes configuration for how email that EPrints needs to send should be sent.  By default this uses the ''send_mail_via_smtp'' function with the following line:&lt;br /&gt;
 $c-&amp;gt;{send_email} = \&amp;amp;EPrints::Email::send_mail_via_smtp;&lt;br /&gt;
This could be changed to the ''send_mail_via_sendmail'' function of bespoke function of your own.  If you define you own function it will be passed the following parameters:&lt;br /&gt;
* '''&amp;lt;code&amp;gt;$repository&amp;lt;/code&amp;gt;''' - The [[API:EPrints/Repository|Repository]] object.&lt;br /&gt;
* '''&amp;lt;code&amp;gt;$langid&amp;lt;/code&amp;gt;''' - The language ID, (e.g. ''en'') to be used when transcribing EPC phrases.&lt;br /&gt;
* '''&amp;lt;code&amp;gt;$name&amp;lt;/code&amp;gt;''' - The name of the person to which the email is to be sent. &lt;br /&gt;
* '''&amp;lt;code&amp;gt;$address&amp;lt;/code&amp;gt;''' - The email address to which the email is to be sent. &lt;br /&gt;
* '''&amp;lt;code&amp;gt;$subject&amp;lt;/code&amp;gt;''' - The subject line of the email.&lt;br /&gt;
* '''&amp;lt;code&amp;gt;$body&amp;lt;/code&amp;gt;''' - The main body of the email.&lt;br /&gt;
* '''&amp;lt;code&amp;gt;$sig&amp;lt;/code&amp;gt;''' - The signature to be added the end of the email's main body.&lt;br /&gt;
* '''&amp;lt;code&amp;gt;$replyto&amp;lt;/code&amp;gt;''' - The reply to email address.&lt;br /&gt;
* '''&amp;lt;code&amp;gt;$replytoname&amp;lt;/code&amp;gt;''' - The name to associate with the reply to email address.&lt;/div&gt;</summary>
		<author><name>Drn@ecs.soton.ac.uk</name></author>
		
	</entry>
</feed>