ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » get messages in email input node

Post new topic  Reply to topic Goto page 1, 2  Next
 get messages in email input node « View previous topic :: View next topic » 
Author Message
RITCHEA
PostPosted: Sat Aug 20, 2011 10:12 pm    Post subject: get messages in email input node Reply with quote

Apprentice

Joined: 25 Jul 2011
Posts: 27

I want to configure Email input node but still unable to fetch messages from my mail account

I have run the following commands:

mqsideleteconfigurableservice MB7BROKER -c EmailServer -o myservice
mqsicreateconfigurableservice MB7BROKER -c EmailServer -o myservice
mqsichangeproperties MB7BROKER -c EmailServer -o myservice -n serverName -v
pop3://xyz.com:110
mqsichangeproperties MB7BROKER -c EmailServer -o myservice -n
securityIdentity -v mySecurityIdentity1
mqsisetdbparms MB7BROKER -n email::mySecurityIdentity1 -u
ritchea@xyz.com -p mypassword

and set- email server property as- myservice
security identity as- mySecurityIdentity1
please suggest..
Back to top
View user's profile Send private message
smdavies99
PostPosted: Sat Aug 20, 2011 11:04 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

What errors are you getting?
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
RITCHEA
PostPosted: Sun Aug 21, 2011 2:12 am    Post subject: Reply with quote

Apprentice

Joined: 25 Jul 2011
Posts: 27

I am not getting any error but still it is not fetching messages from mail account...
my flow is:
emailInput node--> filter(to check attachment)-->fileoutput node..
Back to top
View user's profile Send private message
Vitor
PostPosted: Sun Aug 21, 2011 9:09 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

RITCHEA wrote:
I am not getting any error but still it is not fetching messages from mail account...


What does a user trace show about the activity (or lack of) in the node?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
RITCHEA
PostPosted: Sun Aug 21, 2011 10:27 pm    Post subject: Reply with quote

Apprentice

Joined: 25 Jul 2011
Posts: 27

actually user name i m using is ritchea.agrawal@companyname.com in my mqsisetdbparms command but in real time it only accepts ritchea.agrawal and if i give the user name without @... in command it shows edit source look up path if i launch debugger.... is that could be a problem...
Back to top
View user's profile Send private message
RITCHEA
PostPosted: Sun Aug 21, 2011 10:33 pm    Post subject: Reply with quote

Apprentice

Joined: 25 Jul 2011
Posts: 27

where should i use trace node in flow... as i m not getting message in email node itself....
Back to top
View user's profile Send private message
smdavies99
PostPosted: Sun Aug 21, 2011 11:06 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Vitor said 'User Trace' not a trace node.

So...

Try this.

1) Stop the Flow.
2) enable user trace on the flow (mqsichangetrace ... -r -l debug)

3) Start the flow

Wait a couple of minutes

4) disable user trace (mqsichangetrace .... -l none)
5) read the log (mqsireadlog)
6) format the log

Now look to see if there are any errors when the flow starts up. It should attempt to logon to the email server. If there are problems it should show up here.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
RITCHEA
PostPosted: Mon Aug 22, 2011 9:57 pm    Post subject: Reply with quote

Apprentice

Joined: 25 Jul 2011
Posts: 27

still unable to find the problem....
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Aug 22, 2011 10:20 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Does the trace log show anything?
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
RITCHEA
PostPosted: Tue Aug 23, 2011 3:23 am    Post subject: Reply with quote

Apprentice

Joined: 25 Jul 2011
Posts: 27

Is there any way one can check in filter node that the attachment received in email input node...is csv or text...from email input node...
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Aug 23, 2011 5:06 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

RITCHEA wrote:
Is there any way one can check in filter node that the attachment received in email input node...is csv or text...from email input node...


Yes. By understanding the logical message structure that the emailInput node produces for an email with attachments, and using that information to construct your filter expression.

But be aware that just because an email attachment has an original file name that ended with ".txt", does not mean in any way that it actually represents text content.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Aug 23, 2011 5:54 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

RITCHEA wrote:
Is there any way one can check in filter node that the attachment received in email input node...is csv or text...from email input node...


Does this mean you've resolved the email problem? If so, how? (If only for the benefit of future readers)

Or was the apparent lack of email reading caused by no output files being written out due to this issue in the filter node?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
RITCHEA
PostPosted: Tue Aug 23, 2011 11:22 pm    Post subject: Reply with quote

Apprentice

Joined: 25 Jul 2011
Posts: 27

yes, thankfully i have resolved the problem i ran following commands on MBcomamnd console:

mqsideleteconfigurableservice MB7BROKER -c EmailServer -o myservice
mqsicreateconfigurableservice MB7BROKER -c EmailServer -o myservice -n serverName,securityIdentity -v pop3://{maillingserver}:110,mySecurityIdentity
mqsisetdbparms MB7BROKER -n email::mySecurityIdentity1 -u {username} -p {mypassword}
Take care of spaces n cases....

set properties of EmailInput node:
emailserver: pop3://maillingserver:110
severrsecurity:mySecurityIdentity1

it worked !!!


Last edited by RITCHEA on Thu Aug 25, 2011 1:24 am; edited 1 time in total
Back to top
View user's profile Send private message
RITCHEA
PostPosted: Tue Aug 23, 2011 11:25 pm    Post subject: Reply with quote

Apprentice

Joined: 25 Jul 2011
Posts: 27

but i unable to check if the attachment received is text or csv...
i ran following code on filter node

IF Root.MIME.Parts.Content-Type= '*.txt' THEN
RETURN FALSE;
ELSE
RETURN TRUE;
END IF;
please suggest...
Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Aug 24, 2011 12:05 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

RITCHEA wrote:


serverName,securityIdentity -v pop3://maillingserver:110,mySecurityIdentity
mqsisetdbparms MB7BROKER -n email::mySecurityIdentity1 -u ritchea.agrawal -p mypassword

set prop[erties
emailserver: pop3://maillingserver:110
severrsecurity:mySecurityIdentity1



I'm sure that is a typo {or maybe it isn't}
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » get messages in email input node
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.