Still i'm facing the issue.
following is the error i get. this shows as yaml reader. if this is not the list, please suggest correct one.

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 Wed, Jul 10, 2013 at 4:28 PM, Clark C. Evans <cce@clarkevans.com> wrote:
First, your message is off-topic for YAML-CORE, it'd be great if you contacted
the creator or vendor of the software you wish to use.  Please take further
correspondence somewhere elae... thank you ;)
 
Second, you might try:
 
mailTo:
 - sample@co.com
 - sample2@co.com
 
Best,
 
Clark
 
On Wed, Jul 10, 2013, at 02:06 AM, ygna kumar velliangiri wrote:
ok, then.. please help me out from this. Will that took from RFC0822?
 
exact code is..
 
!com.whs.spec.mailconfig
 
mailTo:
cc:
 
messageText: "\n This is a test mail.\n"
messageFooter: "Thanks. \n My Team"
 
 
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 <indeyets@gmail.com> wrote:
 
 
On 09.07.2013, at 18:04, ygna kumar velliangiri <ygnakumar@gmail.com> 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
 
 
 
 
 
 
--
Cheers
Ygna Kumar S V
mobile9003671547


------------------------------------------------------------------------------
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!
_______________________________________________
Yaml-core mailing list



--
Cheers
Ygna Kumar S V
mobile9003671547