You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by shekher awasthi <sh...@gmail.com> on 2009/01/23 17:13:48 UTC

Problem in sending mail to mailing list

Hi All,

I am unable to send new mail in struts2 mailing list while i was able to
reply to one of the post in the mailing list

when i am trying to paste content of my xml file it is giving me the
following error

Google tried to deliver your message, but it was rejected by the recipient
domain. We recommend contacting the other email provider for further
information about the cause of this error. The error that the other server
returned was: 552 552 spam score (5.0) exceeded threshold (state 18).

can any body poin tme the reason

even i susbcribed mailing list to my alternative id butsame problem is
coming there also

any help in this regard?

Re: Problem in sending mail to mailing list

Posted by Struts Two <st...@yahoo.ca>.
I had this problem before and it was because the email was being sent as Rich Text. change your email option to simple text and you should be fine.




--- On Fri, 1/23/09, Dave Newton <ne...@yahoo.com> wrote:

> From: Dave Newton <ne...@yahoo.com>
> Subject: Re: Problem in sending mail to mailing list
> To: "Struts Users Mailing List" <us...@struts.apache.org>
> Received: Friday, January 23, 2009, 5:12 PM
> umesh awasthi wrote:
> > can you suggest any thing else to look in to??
> 
> Not really; maybe somebody using gmail can comment.
> 
> Another option is to put code fragments on a source-hosting
> service like pastebin etc. Some folks that haven't
> figured out how to send text-only emails often change
> "<" characters to "[", which is
> another option (but can be hard to read).
> 
> Dave
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org


      __________________________________________________________________
Get a sneak peak at messages with a handy reading pane with All new Yahoo! Mail: http://ca.promos.yahoo.com/newmail/overview2/


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Problem in sending mail to mailing list

Posted by Dave Newton <ne...@yahoo.com>.
umesh awasthi wrote:
> can you suggest any thing else to look in to??

Not really; maybe somebody using gmail can comment.

Another option is to put code fragments on a source-hosting service like 
pastebin etc. Some folks that haven't figured out how to send text-only 
emails often change "<" characters to "[", which is another option (but 
can be hard to read).

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Problem in sending mail to mailing list

Posted by umesh awasthi <um...@gmail.com>.
its not a big one
just a small fragment but when ever iam trying to post it i am getting the
same message

thats why i am clueless

i even tried to send same message from my other id but faced same problem,
then i even removed the XML
part from my post but  problem remains same

can you suggest any thing else to look in to??


On 1/23/09, Dave Newton <ne...@yahoo.com> wrote:
>
> shekher awasthi wrote:
>
>> when i am trying to paste content of my xml file [...]
>>
>
> How big is your XML snippet? People post fairly large XML fragments all the
> time with no issues, AFAIK.
>
> Dave
>
> == sanity check ==
>
> <?xml version="1.0" encoding="UTF-8" ?>
>
> <!DOCTYPE struts PUBLIC
>    "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
>    "http://struts.apache.org/dtds/struts-2.0.dtd">
>
> <!-- START SNIPPET: xworkSample -->
> <struts>
>
>    <!-- Some or all of these can be flipped to true for debugging -->
>    <constant name="struts.i18n.reload" value="false" />
>    <constant name="struts.devMode" value="true" />
>    <constant name="struts.configuration.xml.reload" value="false" />
>    <constant name="struts.custom.i18n.resources" value="globalMessages" />
>    <constant name="struts.action.extension" value="action,," />
>
>    <constant name="struts.codebehind.defaultPackage" value="person" />
>    <constant name="struts.freemarker.manager.classname"
> value="customFreemarkerManager" />
>    <constant name="struts.serve.static" value="true" />
>    <constant name="struts.serve.static.browserCache" value="false" />
>
>    <include file="struts-chat.xml" />
>
>    <include file="struts-interactive.xml" />
>
>    <include file="struts-hangman.xml" />
>
>    <include file="struts-tags.xml"/>
>
>    <include file="struts-validation.xml" />
>
>    <include file="struts-actionchaining.xml" />
>
>    <include file="struts-ajax.xml" />
>
>    <include file="struts-fileupload.xml" />
>
>    <include file="struts-person.xml" />
>
>    <include file="struts-wait.xml" />
>
>    <include file="struts-jsf.xml" />
>
>    <include file="struts-token.xml" />
>
>    <include file="struts-model-driven.xml" />
>
>    <include file="struts-integration.xml" />
>
>    <include file="struts-filedownload.xml" />
>
>    <include file="struts-conversion.xml" />
>
>    <include file="struts-freemarker.xml" />
>
>    <include file="struts-tiles.xml" />
>
>    <include file="struts-xslt.xml" />
>
>    <package name="default" extends="struts-default">
>        <interceptors>
>            <interceptor-stack name="crudStack">
>              <interceptor-ref name="checkbox" />
>                <interceptor-ref name="params" />
>        <interceptor-ref name="staticParams" />
>                <interceptor-ref name="defaultStack" />
>            </interceptor-stack>
>        </interceptors>
>
>        <default-action-ref name="showcase" />
>
>        <action name="showcase">
>            <result>showcase.jsp</result>
>        </action>
>
>        <action name="viewSource"
> class="org.apache.struts2.showcase.source.ViewSourceAction">
>            <result>viewSource.jsp</result>
>        </action>
>
>        <action name="date" class="org.apache.struts2.showcase.DateAction"
> method="browse">
>            <result name="success">/date.jsp</result>
>        </action>
>
>    </package>
>
>    <package name="skill" extends="default" namespace="/skill">
>        <default-interceptor-ref name="crudStack"/>
>
>        <action name="list"
> class="org.apache.struts2.showcase.action.SkillAction" method="list">
>            <result>/empmanager/listSkills.jsp</result>
>            <interceptor-ref name="basicStack"/>
>        </action>
>        <action name="edit"
> class="org.apache.struts2.showcase.action.SkillAction">
>            <result>/empmanager/editSkill.jsp</result>
>            <interceptor-ref name="params" />
>            <interceptor-ref name="basicStack"/>
>        </action>
>        <action name="save"
> class="org.apache.struts2.showcase.action.SkillAction" method="save">
>            <result name="input">/empmanager/editSkill.jsp</result>
>            <result
> type="redirect">edit.action?skillName=${currentSkill.name}</result>
>        </action>
>        <action name="delete"
> class="org.apache.struts2.showcase.action.SkillAction" method="delete">
>            <result name="error">/empmanager/editSkill.jsp</result>
>            <result
> type="redirect">edit.action?skillName=${currentSkill.name}</result>
>        </action>
>    </package>
>
>    <package name="employee" extends="default" namespace="/employee">
>        <default-interceptor-ref name="crudStack"/>
>
>        <action name="list"
> class="org.apache.struts2.showcase.action.EmployeeAction" method="list">
>            <result>/empmanager/listEmployees.jsp</result>
>            <interceptor-ref name="basicStack"/>
>        </action>
>        <action name="edit-*"
> class="org.apache.struts2.showcase.action.EmployeeAction">
>                <param name="empId">{1}</param>
>            <result>/empmanager/editEmployee.jsp</result>
>            <interceptor-ref name="crudStack"><param
> name="validation.excludeMethods">execute</param></interceptor-ref>
>        </action>
>        <action name="save"
> class="org.apache.struts2.showcase.action.EmployeeAction" method="save">
>            <result name="input">/empmanager/editEmployee.jsp</result>
>            <result
> type="redirect">edit-${currentEmployee.empId}.action</result>
>        </action>
>        <action name="delete"
> class="org.apache.struts2.showcase.action.EmployeeAction" method="delete">
>            <result name="error">/empmanager/editEmployee.jsp</result>
>            <result
> type="redirect">edit-${currentEmployee.empId}.action</result>
>        </action>
>    </package>
>
> </struts>
>
> <!-- END SNIPPET: xworkSample -->
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Re: Problem in sending mail to mailing list

Posted by Dave Newton <ne...@yahoo.com>.
shekher awasthi wrote:
> when i am trying to paste content of my xml file [...]

How big is your XML snippet? People post fairly large XML fragments all 
the time with no issues, AFAIK.

Dave

== sanity check ==

<?xml version="1.0" encoding="UTF-8" ?>

<!DOCTYPE struts PUBLIC
     "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
     "http://struts.apache.org/dtds/struts-2.0.dtd">

<!-- START SNIPPET: xworkSample -->
<struts>

     <!-- Some or all of these can be flipped to true for debugging -->
     <constant name="struts.i18n.reload" value="false" />
     <constant name="struts.devMode" value="true" />
     <constant name="struts.configuration.xml.reload" value="false" />
     <constant name="struts.custom.i18n.resources" value="globalMessages" />
     <constant name="struts.action.extension" value="action,," />

     <constant name="struts.codebehind.defaultPackage" value="person" />
     <constant name="struts.freemarker.manager.classname" 
value="customFreemarkerManager" />
     <constant name="struts.serve.static" value="true" />
     <constant name="struts.serve.static.browserCache" value="false" />

     <include file="struts-chat.xml" />

     <include file="struts-interactive.xml" />

     <include file="struts-hangman.xml" />

     <include file="struts-tags.xml"/>

     <include file="struts-validation.xml" />

     <include file="struts-actionchaining.xml" />

     <include file="struts-ajax.xml" />

     <include file="struts-fileupload.xml" />

     <include file="struts-person.xml" />

     <include file="struts-wait.xml" />

     <include file="struts-jsf.xml" />

     <include file="struts-token.xml" />

     <include file="struts-model-driven.xml" />

     <include file="struts-integration.xml" />

     <include file="struts-filedownload.xml" />

     <include file="struts-conversion.xml" />

     <include file="struts-freemarker.xml" />

     <include file="struts-tiles.xml" />

     <include file="struts-xslt.xml" />

     <package name="default" extends="struts-default">
         <interceptors>
             <interceptor-stack name="crudStack">
               <interceptor-ref name="checkbox" />
                 <interceptor-ref name="params" />
         <interceptor-ref name="staticParams" />
                 <interceptor-ref name="defaultStack" />
             </interceptor-stack>
         </interceptors>

         <default-action-ref name="showcase" />

         <action name="showcase">
             <result>showcase.jsp</result>
         </action>

         <action name="viewSource" 
class="org.apache.struts2.showcase.source.ViewSourceAction">
             <result>viewSource.jsp</result>
         </action>

         <action name="date" 
class="org.apache.struts2.showcase.DateAction" method="browse">
             <result name="success">/date.jsp</result>
         </action>

     </package>

     <package name="skill" extends="default" namespace="/skill">
         <default-interceptor-ref name="crudStack"/>

         <action name="list" 
class="org.apache.struts2.showcase.action.SkillAction" method="list">
             <result>/empmanager/listSkills.jsp</result>
             <interceptor-ref name="basicStack"/>
         </action>
         <action name="edit" 
class="org.apache.struts2.showcase.action.SkillAction">
             <result>/empmanager/editSkill.jsp</result>
             <interceptor-ref name="params" />
             <interceptor-ref name="basicStack"/>
         </action>
         <action name="save" 
class="org.apache.struts2.showcase.action.SkillAction" method="save">
             <result name="input">/empmanager/editSkill.jsp</result>
             <result 
type="redirect">edit.action?skillName=${currentSkill.name}</result>
         </action>
         <action name="delete" 
class="org.apache.struts2.showcase.action.SkillAction" method="delete">
             <result name="error">/empmanager/editSkill.jsp</result>
             <result 
type="redirect">edit.action?skillName=${currentSkill.name}</result>
         </action>
     </package>

     <package name="employee" extends="default" namespace="/employee">
         <default-interceptor-ref name="crudStack"/>

         <action name="list" 
class="org.apache.struts2.showcase.action.EmployeeAction" method="list">
             <result>/empmanager/listEmployees.jsp</result>
             <interceptor-ref name="basicStack"/>
         </action>
         <action name="edit-*" 
class="org.apache.struts2.showcase.action.EmployeeAction">
       		<param name="empId">{1}</param>
             <result>/empmanager/editEmployee.jsp</result>
             <interceptor-ref name="crudStack"><param 
name="validation.excludeMethods">execute</param></interceptor-ref>
         </action>
         <action name="save" 
class="org.apache.struts2.showcase.action.EmployeeAction" method="save">
             <result name="input">/empmanager/editEmployee.jsp</result>
             <result 
type="redirect">edit-${currentEmployee.empId}.action</result>
         </action>
         <action name="delete" 
class="org.apache.struts2.showcase.action.EmployeeAction" method="delete">
             <result name="error">/empmanager/editEmployee.jsp</result>
             <result 
type="redirect">edit-${currentEmployee.empId}.action</result>
         </action>
     </package>

</struts>

<!-- END SNIPPET: xworkSample -->


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org