[Building Sakai] MailSender

Carl Hall carl at hallwaytech.com
Fri Jul 23 07:46:06 PDT 2010


Hi Omer,

If the output below is what is showing in your email client, it looks like
the header is messed up.  3D is the escaped equivalent of =.  I think
someone else saw something like this.  I'll try to get some unit tests in
there to check this out.


On Wed, Jul 21, 2010 at 1:50 PM, Omer Piperdi <omer at rice.edu> wrote:

> Hi Carl,
>
> I was able to deploy fine with our 2.7.x install..
> We are wondering if there is any settings for changing MIME type in
> email body..  We are seeing both html and text body in GMail and Apple
> mail.. (even though part of the body has alternative MIME type)
>
> See example below..
>
> ------=3D_Part_3_1225438970.1279732094009
> Content-Type: multipart/alternative;=20
> =09boundary=3D"----=3D_Part_4_1584594060.1279732094010"
>
> ------=3D_Part_4_1584594060.1279732094010
> Content-Type: text/plain; charset=3DUTF-8
> Content-Transfer-Encoding: 7bit
>
> f sdafdsafdsf dsafds
> ------=3D_Part_4_1584594060.1279732094010
> Content-Type: text/html; charset=3DUTF-8
> Content-Transfer-Encoding: 7bit
>
> f sdafdsafdsf dsafds
> ------=3D_Part_4_1584594060.1279732094010--
>
> ------=3D_Part_3_1225438970.1279732094009--
>
>
> Thanks
> Omer
>
> On 7/20/2010 4:14 PM, Carl Hall wrote:
> > The trunk of mailsender has been updated to work with kernel
> > artifacts.  Since 2.5 is EOL, the 1.4 branch of mailsender will
> > continue to serve the<= 2.5 branches and trunk will go forward with
> > kernel dependencies.  I tried to make things work with build profiles
> > that detect k1/pre-k1 but it was tedious and unrewarding (for me,
> > anyway).
> >
> > I have also updated the base pom to use the 'pure pom' strategy
> > meaning mailsender can be built independent of a particular Sakai
> > installation.  Go forward, test and report!
> >
> > Thanks,
> > Carl
> >
> >
> > On Tue, Jul 20, 2010 at 1:28 AM, Seth Theriault<slt at columbia.edu>
>  wrote:
> >> Carl Hall wrote:
> >>
> >>> Seth Theriault and I are working on getting trunk to play nice
> >>> with kernel and pre-kernel configurations.  I hope to have
> >>> this pom refactoring done in the next week or so.  I'll try to
> >>> post again when done as we can always use more eyes on the
> >>> project.
> >>
> >> Locally, I have Mailsender trunk (r69070) working against the 2.6
> >> maintenance branch using the attached patch. It basically makes
> >> the necessary pom.xml modifications to build against a
> >> kernel-enabled (1.0.x in this case) build.
> >>
> >> People might want to try it while the pom refactoring is in progress.
> >>
> >> Seth
> >>
> >> Index: mailsender/impl/pom.xml
> >> ===================================================================
> >> --- mailsender/impl/pom.xml     (revision 69070)
> >> +++ mailsender/impl/pom.xml     (working copy)
> >> @@ -82,53 +82,25 @@
> >>
> >>   <!-- sakai -->
> >>                 <dependency>
> >> -<groupId>org.sakaiproject</groupId>
> >> -<artifactId>sakai-authz-api</artifactId>
> >> +<groupId>org.sakaiproject.kernel</groupId>
> >> +<artifactId>sakai-kernel-api</artifactId>
> >>                 </dependency>
> >> -<dependency>
> >> -<groupId>org.sakaiproject</groupId>
> >> -<artifactId>sakai-component-api</artifactId>
> >> +<dependency>
> >> +<groupId>org.sakaiproject.kernel</groupId>
> >> +<artifactId>sakai-component-manager</artifactId>
> >>                 </dependency>
> >> -<dependency>
> >> -<groupId>org.sakaiproject</groupId>
> >> -<artifactId>sakai-entity-api</artifactId>
> >> -</dependency>
> >>                 <dependency>
> >> -<groupId>org.sakaiproject</groupId>
> >> -<artifactId>sakai-event-api</artifactId>
> >> +<groupId>org.sakaiproject.kernel</groupId>
> >> +<artifactId>sakai-kernel-util</artifactId>
> >>                 </dependency>
> >>                 <dependency>
> >>                         <groupId>org.sakaiproject</groupId>
> >>                         <artifactId>sakai-mailarchive-api</artifactId>
> >>                 </dependency>
> >> -<dependency>
> >> -<groupId>org.sakaiproject</groupId>
> >> -<artifactId>sakai-memory-api</artifactId>
> >> -</dependency>
> >>                 <dependency>
> >>                         <groupId>org.sakaiproject</groupId>
> >>                         <artifactId>sakai-message-api</artifactId>
> >>                 </dependency>
> >> -<dependency>
> >> -<groupId>org.sakaiproject</groupId>
> >> -<artifactId>sakai-site-api</artifactId>
> >> -</dependency>
> >> -<dependency>
> >> -<groupId>org.sakaiproject</groupId>
> >> -<artifactId>sakai-tool-api</artifactId>
> >> -</dependency>
> >> -<dependency>
> >> -<groupId>org.sakaiproject</groupId>
> >> -<artifactId>sakai-user-api</artifactId>
> >> -</dependency>
> >> -<dependency>
> >> -<groupId>org.sakaiproject</groupId>
> >> -<artifactId>sakai-util-api</artifactId>
> >> -</dependency>
> >> -<dependency>
> >> -<groupId>org.sakaiproject</groupId>
> >> -<artifactId>sakai-util</artifactId>
> >> -</dependency>
> >>
> >>   <!-- testing -->
> >>                 <dependency>
> >>
> >> Index: mailsender/api/pom.xml
> >> ===================================================================
> >> --- mailsender/api/pom.xml      (revision 69070)
> >> +++ mailsender/api/pom.xml      (working copy)
> >> @@ -38,30 +38,18 @@
> >>                         <artifactId>commons-logging</artifactId>
> >>                 </dependency>
> >>                 <dependency>
> >> -<groupId>org.sakaiproject</groupId>
> >> -<artifactId>sakai-authz-api</artifactId>
> >> +<groupId>org.sakaiproject.kernel</groupId>
> >> +<artifactId>sakai-kernel-api</artifactId>
> >>                 </dependency>
> >>                 <dependency>
> >> -<groupId>org.sakaiproject</groupId>
> >> -<artifactId>sakai-component-api</artifactId>
> >> +<groupId>org.sakaiproject.kernel</groupId>
> >> +<artifactId>sakai-component-manager</artifactId>
> >>                 </dependency>
> >>                 <dependency>
> >> -<groupId>org.sakaiproject</groupId>
> >> -<artifactId>sakai-site-api</artifactId>
> >> +<groupId>org.sakaiproject.kernel</groupId>
> >> +<artifactId>sakai-kernel-util</artifactId>
> >>                 </dependency>
> >>                 <dependency>
> >> -<groupId>org.sakaiproject</groupId>
> >> -<artifactId>sakai-tool-api</artifactId>
> >> -</dependency>
> >> -<dependency>
> >> -<groupId>org.sakaiproject</groupId>
> >> -<artifactId>sakai-user-api</artifactId>
> >> -</dependency>
> >> -<dependency>
> >> -<groupId>org.sakaiproject</groupId>
> >> -<artifactId>sakai-util-api</artifactId>
> >> -</dependency>
> >> -<dependency>
> >>                         <groupId>${sakai.spring.groupId}</groupId>
> >>
> <artifactId>${sakai.spring..artifactId}</artifactId>
> >>                 </dependency>
> >>
> >> Index: mailsender/pom.xml
> >> ===================================================================
> >> --- mailsender/pom.xml  (revision 69070)
> >> +++ mailsender/pom.xml  (working copy)
> >> @@ -21,7 +21,7 @@
> >>         <parent>
> >>                 <artifactId>master</artifactId>
> >>                 <groupId>org.sakaiproject</groupId>
> >> -<version>2.5.6</version>
> >> +<version>2.6-SNAPSHOT</version>
> >>         </parent>
> >>         <groupId>org.sakaiproject.mailsender</groupId>
> >>         <artifactId>mailsender-base</artifactId>
> >> @@ -77,11 +77,6 @@
> >>                                 <artifactId>mailsender-impl</artifactId>
> >>                                 <version>${pom.version}</version>
> >>                         </dependency>
> >> -<dependency>
> >> -<groupId>org.sakaiproject</groupId>
> >> -<artifactId>sakai-util</artifactId>
> >> -<version>${sakai.version}</version>
> >> -</dependency>
> >>
> >>                         <dependency>
> >>                                 <groupId>javax.activation</groupId>
> >>
> >> Index: mailsender/tool/pom.xml
> >> ===================================================================
> >> --- mailsender/tool/pom.xml     (revision 69070)
> >> +++ mailsender/tool/pom.xml     (working copy)
> >> @@ -100,32 +100,16 @@
> >>
> >>                 <!-- Sakai Dependencies -->
> >>                 <dependency>
> >> -<groupId>org.sakaiproject</groupId>
> >> -<artifactId>sakai-user-api</artifactId>
> >> +<groupId>org.sakaiproject.kernel</groupId>
> >> +<artifactId>sakai-kernel-api</artifactId>
> >>                 </dependency>
> >>                 <dependency>
> >> -<groupId>org.sakaiproject</groupId>
> >> -<artifactId>sakai-util</artifactId>
> >> +<groupId>org.sakaiproject.kernel</groupId>
> >> +<artifactId>sakai-component-manager</artifactId>
> >>                 </dependency>
> >>                 <dependency>
> >> -<groupId>org.sakaiproject</groupId>
> >> -<artifactId>sakai-util-api</artifactId>
> >> +<groupId>org.sakaiproject.kernel</groupId>
> >> +<artifactId>sakai-kernel-util</artifactId>
> >>                 </dependency>
> >> -<dependency>
> >> -<groupId>org.sakaiproject</groupId>
> >> -<artifactId>sakai-entity-api</artifactId>
> >> -</dependency>
> >> -<dependency>
> >> -<groupId>org.sakaiproject</groupId>
> >> -<artifactId>sakai-authz-api</artifactId>
> >> -</dependency>
> >> -<dependency>
> >> -<groupId>org.sakaiproject</groupId>
> >> -<artifactId>sakai-content-api</artifactId>
> >> -</dependency>
> >> -<dependency>
> >> -<groupId>org.sakaiproject</groupId>
> >> -<artifactId>sakai-tool-api</artifactId>
> >> -</dependency>
> >>         </dependencies>
> >>   </project>
> >>
> >>
> > _______________________________________________
> > sakai-dev mailing list
> > sakai-dev at collab.sakaiproject.org
> > http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> >
> > TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
> >
> > !DSPAM:2294,4c4611bb127489203126843!
> >
> >
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100723/691ddda8/attachment.html 


More information about the sakai-dev mailing list