Re: mail in yaml

ygna kumar velliangiri <[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <CAD+TASDX6wSvQc_Wk+cObUe7U67BHohttNrjmra-_kkY1PtA3g@mail.gmail.com>
When i try as you suggested, i received the mail for the first one alone.
So i tried like as below.

Following is the error i am getting while adding as

mailTo:
    - "[email protected]"; "[email protected]"
cc:
    - "[email protected]"


net.sourceforge.yamlbeans.YamlReader$YamlReaderException: Line 6, column 2:
Erro
r setting property 'mailTo' on class: com.whs.spec.MailConfig
        at
net.sourceforge.yamlbeans.YamlReader.readValueInternal(YamlReader.jav
a:255)
        at
net.sourceforge.yamlbeans.YamlReader.readValue(YamlReader.java:141)
        at net.sourceforge.yamlbeans.YamlReader.read(YamlReader.java:98)
        at com.whs.generate.Mail.<init>(Mail.java:23)
        at com.whs.generate.Mail.main(Mail.java:90)
Caused by: net.sourceforge.yamlbeans.parser.Parser$ParserException: Line 6,
colu
mn 2: Expected a 'block end' but found: scalar
        at
net.sourceforge.yamlbeans.parser.Parser$24.produce(Parser.java:383)
        at
net.sourceforge.yamlbeans.parser.Parser.getNextEvent(Parser.java:81)
        at
net.sourceforge.yamlbeans.parser.Parser.peekNextEvent(Parser.java:92)
        at
net.sourceforge.yamlbeans.YamlReader.readValueInternal(YamlReader.jav
a:277)
        at
net.sourceforge.yamlbeans.YamlReader.readValue(YamlReader.java:141)
        at
net.sourceforge.yamlbeans.YamlReader.readValueInternal(YamlReader.jav
a:252)
        ... 4 more
Exception in thread "main" java.lang.NullPointerException
        at com.whs.generate.Mail.compose(Mail.java:36)
        at com.whs.generate.Mail.main(Mail.java:92)




On Thu, Jul 11, 2013 at 6:12 AM, K. Y. <[email protected]>wrote:

> Hello,
>
> 1) William S. don't send mails directly to someone, try to use the
> address we all use her.
> 2) About the subject itself:
> IMHO, I think that it is more easier to an application to parse one line
> instead of many ones.
> As you've noticed, he seems to add typewriter double quotes...
> 3) Ygna Kumar S V (ygnakumar), could you please tell us if your problem is
> solved ?
>
>  --------- > IMHO, code should be :
> just sayin'
>
> !com.whs.spec.mailconfig
>
> mailTo:
>    - "[email protected];[email protected]"
>
> cc:
>    - "[email protected]"
>
> messageText: "\n This is a test mail.\n"
> messageFooter: "Thanks. \n My Team"
>
>  --------- > Or better IMHO:
>
> !com.whs.spec.mailconfig
>
> mailTo:
>    - "[email protected];[email protected]"
>
> cc:
>    - "[email protected]"
>
> messageText:
>    - "\n This is a test mail.\n"
> messageFooter:
>    - "Thanks. \n My Team"
>
>
> Best Regards
>
> K.
>
>   ------------------------------
> *From :* William S.
> **
>
> Maybe the way to do two mailTo addresses is this?
>
> !com.whs.spec.mailconfig
>
> mailTo:
>     - "[email protected]"
>     - "[email protected]"
> cc:
>     - "[email protected]"
>
> messageText: "\n This is a test mail.\n"
> messageFooter: "Thanks. \n My Team"
>
> from:
>
> ygna kumar velliangiri wrote:
> > ok, then.. please help me out from this. Will that took from RFC0822
> > <http://www.ietf.org/rfc/rfc0822.txt>?
> >
> > exact code is..
> >
> > !com.whs.spec.mailconfig
> >
> > mailTo:
> >    - "[email protected] <mailto:[email protected]>;[email protected]
> > <mailto:[email protected]>"
> > cc:
> > - "[email protected] <mailto:[email protected]>"
> >
> > messageText: "\n This is a test mail.\n"
> > messageFooter: "Thanks. \n My Team"
> >
> > from: "ygnakumar <[email protected]>"
> >
> > In this i couldn't find mailconfig.I can able to send the mail when i
> > add a single id in To field. I know, this may be due to seperator.
> > Still, i cannot resolve it. It will be great if you could help me.
> >
> >
> >
> >
> > On Tue, Jul 9, 2013 at 7:48 PM, Alexey Zakhlestin
> >wrote:
>
> >
> >
> >    On 09.07.2013, at 18:04, ygna kumar velliangiri wrote:
> >
> >      > I think YAML includes mailing configuration too. Adding multiple
> >    contact will be the part of YAML rite?
> >
> >    I don't know what you're talking about.
> >    Here's what this mailing list is about:
> >    http://www.yaml.org/spec/1.2/spec.html
> >
> >
> >    --
> >    Alexey Zakhlestin
> >    CTO at Grids.by/you
> >    https://github.com/indeyets
> >    PGP key: http://indeyets.ru/alexey.zakhlestin.pgp.asc
> >
> >
> >
> >
> >
> >
> > --
> > /Cheers/
> > *Ygna Kumar S V**
> > *
> > /^mobile //9003671547/
> >
> _______________________________________________
> Yaml-core mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/yaml-core
>
>
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Yaml-core mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/yaml-core
>
>


-- 
   *Cheers*
*Ygna Kumar S V**
*
*mobile**9003671547*

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk

_______________________________________________
Yaml-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/yaml-core
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.