Fwd: svn commit: r442274 - /incubator/ofbiz/trunk/applications/content/src/org/ofbiz/content/email/EmailServices.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Fwd: svn commit: r442274 - /incubator/ofbiz/trunk/applications/content/src/org/ofbiz/content/email/EmailServices.java

Si Chen-2
Hi all,

Should this x-mailer header be configured in the general.properties?

Si

Begin forwarded message:

> From: [hidden email]
> Date: September 11, 2006 10:35:54 AM PDT
> To: [hidden email]
> Subject: svn commit: r442274 - /incubator/ofbiz/trunk/applications/
> content/src/org/ofbiz/content/email/EmailServices.java
> Reply-To: [hidden email]
>
> Author: jonesde
> Date: Mon Sep 11 10:35:53 2006
> New Revision: 442274
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=442274
> Log:
> Small change to recently added mailer name to more accurately  
> represent the project
>
> Modified:
>     incubator/ofbiz/trunk/applications/content/src/org/ofbiz/
> content/email/EmailServices.java
>
> Modified: incubator/ofbiz/trunk/applications/content/src/org/ofbiz/
> content/email/EmailServices.java
> URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/ 
> applications/content/src/org/ofbiz/content/email/EmailServices.java?
> view=diff&rev=442274&r1=442273&r2=442274
> ======================================================================
> ========
> --- incubator/ofbiz/trunk/applications/content/src/org/ofbiz/
> content/email/EmailServices.java (original)
> +++ incubator/ofbiz/trunk/applications/content/src/org/ofbiz/
> content/email/EmailServices.java Mon Sep 11 10:35:53 2006
> @@ -188,7 +188,7 @@
>              MimeMessage mail = new MimeMessage(session);
>              mail.setFrom(new InternetAddress(sendFrom));
>              mail.setSubject(subject);
> -            mail.setHeader("X-Mailer", "OFBiz, Open For Business  
> ERP at www.ofbiz.org");
> +            mail.setHeader("X-Mailer", "Apache OFBiz, The Apache  
> Open For Business Project");
>              mail.setSentDate(new Date());
>              mail.addRecipients(Message.RecipientType.TO, sendTo);
>
>

Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r442274 - /incubator/ofbiz/trunk/applications/content/src/org/ofbiz/content/email/EmailServices.java

David E Jones-2

Interesting question... Usually this just identifies the software  
sending the email, but this is open source so if people want it to  
say what they want it to say, there's no problem with that... ;)

-David


On Sep 11, 2006, at 12:47 PM, Si Chen wrote:

> Hi all,
>
> Should this x-mailer header be configured in the general.properties?
>
> Si
>
> Begin forwarded message:
>
>> From: [hidden email]
>> Date: September 11, 2006 10:35:54 AM PDT
>> To: [hidden email]
>> Subject: svn commit: r442274 - /incubator/ofbiz/trunk/applications/
>> content/src/org/ofbiz/content/email/EmailServices.java
>> Reply-To: [hidden email]
>>
>> Author: jonesde
>> Date: Mon Sep 11 10:35:53 2006
>> New Revision: 442274
>>
>> URL: http://svn.apache.org/viewvc?view=rev&rev=442274
>> Log:
>> Small change to recently added mailer name to more accurately  
>> represent the project
>>
>> Modified:
>>     incubator/ofbiz/trunk/applications/content/src/org/ofbiz/
>> content/email/EmailServices.java
>>
>> Modified: incubator/ofbiz/trunk/applications/content/src/org/ofbiz/
>> content/email/EmailServices.java
>> URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/ 
>> applications/content/src/org/ofbiz/content/email/
>> EmailServices.java?view=diff&rev=442274&r1=442273&r2=442274
>> =====================================================================
>> =========
>> --- incubator/ofbiz/trunk/applications/content/src/org/ofbiz/
>> content/email/EmailServices.java (original)
>> +++ incubator/ofbiz/trunk/applications/content/src/org/ofbiz/
>> content/email/EmailServices.java Mon Sep 11 10:35:53 2006
>> @@ -188,7 +188,7 @@
>>              MimeMessage mail = new MimeMessage(session);
>>              mail.setFrom(new InternetAddress(sendFrom));
>>              mail.setSubject(subject);
>> -            mail.setHeader("X-Mailer", "OFBiz, Open For Business  
>> ERP at www.ofbiz.org");
>> +            mail.setHeader("X-Mailer", "Apache OFBiz, The Apache  
>> Open For Business Project");
>>              mail.setSentDate(new Date());
>>              mail.addRecipients(Message.RecipientType.TO, sendTo);
>>
>>
>