email - Spring XD - Mail as Sink or Source -
i have been trying ingest data mail file using spring xd. although creation of stream comes out successful, no output file created in process.
the command used follows:
xd:>stream create mailtest --definition "mail --username=myemail%40gmail.com --password=mypassword --host=imap.gmail.com --delete=false --port=993 --outputtype=text/plain | file" --deploy what can fix this?
moreover, same problem occurring when use mail sink. in example did, used http source.
the commands used follows:
xd:>stream create tomail --definition "http | mail --host=imap.gmail.com --to='\"some.email.com@gmail.com\"' --username=myemail%40gmail.com --subject='testing mail' --password=mypassword --port=993 --contenttype=text/plain" --deploy xd:> http post --target http://localhost:9000 --data "hello world!" your feedback appreciated!
Comments
Post a Comment