Email HELP!!!

rated by 0 users
This post has 8 Replies | 3 Followers

Top 150 Contributor
Posts 9
Points 150
simmatecusa Posted: Fri, Oct 30 2009 7:51 PM

Hey guys, we have recently implemented Aras at our company, have spent many weeks setting it up on a Win 2008 server with SQL 2008. Everything works great EXCEPT email! We have IIS 6.0 running the smtp server, have tried 'queue', localhost, our ip... does not work, but what is worse (please add to release request), where are the logs?! There is no log telling us what is happening on the Aras side at all! How are we supposed to troubleshoot? There doesn't seem to be much about email period other than a few posts on here that seem to assume we are using an exchange server, which we would rather not.

Some advice on how to troubleshoot and fix this problem would be greatly appreciated!


Thanks,

Franziskaner

 

  • | Post Points: 20
Top 50 Contributor
Posts 34
Points 475
Boro replied on Mon, Nov 2 2009 7:53 PM

Hi simmatecusa.

You will find SMTP log files in SMTP message directory (ex -> \inetpub\mailroot\Badmail).

Thanks.

  • | Post Points: 20
Top 150 Contributor
Posts 9
Points 150

Hey Boro, thanks for the reply, our badmail folder is empty. I tested the smtp server manually in cmd line and it sends mail fine. Is it possible we are doing something wrong within Aras? I wish there was a quick/easy way to test but we created an email message with only plain text message and attached it to both a lifecycle and workflow for testing purposes. The from user has an email set in their preferences as do the assignees on the workflow. No mail is sent. What is the "mailstop" setting in preferences? Is there a way to specify an smtp server of our own that uses authentication such as google apps/gmail? Also, in lifecycle when you set an email on a transition or state, where is that email even supposed to go because we don't see where to specify who receives it!... Thanks

  • | Post Points: 20
Top 50 Contributor
Posts 34
Points 475
Boro replied on Mon, Nov 2 2009 10:03 PM

Hi.

I need more information about your IIS and Aras settings.

How about the Last Update information of "queue" directory in " \inetpub\mailroot ". Is it updated by your smtp test?

Is there any log files in the directory? - > \WINDOWS\system32\LogFiles\SMTPSVC1

Did you try to put the name of your SMTP server instead of "queue" in your InnovatorServerConfig.xml?

Thanks.

  • | Post Points: 20
Top 150 Contributor
Posts 9
Points 150

Hey Boro,

We are running IIS 7.0 on win 2008 server with the SMTP server running on IIS 6.0. We are running Aras 9.1 under the most recent community release. The log file in system32/SMTPSVC1 shows:

#Software: Microsoft Internet Information Services 7.5
#Version: 1.0
#Date: 2009-10-12 19:35:54
#Fields: time c-ip cs-method cs-uri-stem sc-status
19:35:54 10.0.0.115 HELO - 250
19:36:27 10.0.0.115 MAIL - 250
19:36:50 10.0.0.115 RCPT - 250
19:37:30 10.0.0.115 rcpt - 500
19:38:36 10.0.0.115 QUIT - 240
#Software: Microsoft Internet Information Services 7.5
#Version: 1.0
#Date: 2009-10-12 19:43:11
#Fields: time c-ip cs-method cs-uri-stem sc-status
19:43:11 10.0.0.115 HELO - 250
19:43:28 10.0.0.115 MAIL - 250
19:43:50 10.0.0.115 RCPT - 501
19:43:50 10.0.0.115 RCPT - 501
19:44:16 10.0.0.115 RCPT - 250
19:45:01 10.0.0.115 DATA - 250
19:45:01 209.85.223.33 - - 0
19:45:01 209.85.223.33 EHLO - 0
19:45:01 209.85.223.33 - - 0
19:45:01 209.85.223.33 MAIL - 0
19:45:01 209.85.223.33 - - 0
19:45:01 209.85.223.33 RCPT - 0
19:45:01 209.85.223.33 - - 0
19:45:01 209.85.223.33 DATA - 0
19:45:01 209.85.223.33 - - 0
19:45:01 209.85.223.33 - - 0
19:45:01 209.85.223.33 QUIT - 0
19:45:01 209.85.223.33 - - 0
19:45:16 10.0.0.115 QUIT - 240
#Software: Microsoft Internet Information Services 7.5
#Version: 1.0
#Date: 2009-10-12 21:48:58
#Fields: time c-ip cs-method cs-uri-stem sc-status
21:48:58 10.0.0.115 HELO - 250
21:49:10 10.0.0.115 MAIL - 250
21:49:26 10.0.0.115 RCPT - 250
21:50:17 10.0.0.115 DATA - 250
21:50:55 10.0.0.115 QUIT - 240
#Software: Microsoft Internet Information Services 7.5
#Version: 1.0
#Date: 2009-10-12 22:16:29
#Fields: time c-ip cs-method cs-uri-stem sc-status
22:16:29 10.0.0.115 TIMEOUT - 121
22:16:29 10.0.0.115 QUIT - 240

When I sent a test email via telnet it showed up in the queue folder before being sent... So we are thinking maybe we aren't sending it correctly through Aras? We're kind of stuck on this, any help appreciated, thanks!

-simmatec

  • | Post Points: 20
Top 50 Contributor
Posts 34
Points 475
Boro replied on Tue, Nov 3 2009 9:03 PM

Hi simmatecusa.

There is  a basic and comprehensible procedure for SMTP service settings that Peter posted.

http://www.aras.com/Community/forums/p/150/331.aspx#331

Have you already confirm this content? Especially InnovatorServerConfig.xml and SmartHost settings. If you have already set it completely, it seems that a problem in the settings of the notification message.

In the case of Workflow, are the cells of  "Event" and "Target" in the notification tab of activity set correctly?

Thanks. 

  • | Post Points: 20
Not Ranked
Posts 1
Points 80

Hi,

     We have just installed Aras PLM last week. I have configured a email notification on one of the states in

the life cycle of an object. What are all the things i need to do inorder to get a email notification on to my

mail when that object is promoted to next lifecyel state. As of now SMTP server setting in InnovatorServerConfig.xml

is   <Mail SMTPServer="queue" />  . Now what are all the things i need to do so that email is sent to me on

promotion.

Regards,

ShashiKanth.

  • | Post Points: 20
Top 500 Contributor
Posts 4
Points 35
Khoi Ngo replied on Fri, Aug 27 2010 7:49 PM

Hi ShashiKanth,

Make sure you have this line in your InnovatorServerConfig.xml set:

<Mail SMTPServer="xxx.xxx.xxx.xxx"></Mail>

To verify that you configured your lifecycle and workflow notifications correctly, turn on debug mode in your  InnovatorServerConfig.xml also.

<operating_parameter key="email_debug_option" value="file"></operating_parameter> 
<operating_parameter key="temp_folder" value="C:\Program Files\Aras\Innovator\Innovator\Server\temp"></operating_parameter> 

Whenever Innovator email event fires - instead of emailing, it will write to a log file in the directory above.  You can verify if your workflow and lifecycle maps are configured properly for notification and isolate if its an smtp issue or solution configuration issue.

Hope that helps. 



 

Khoi Ngo
Project Engineer
LinkedIn | Twitter

  • | Post Points: 20
Top 500 Contributor
Posts 3
Points 45

Hi Khoi,

Thanks, your post was very helpful. 

By the way, I wonder if the user name and password are not required for sending an email from the designated SMTP server.

Best regards,

Francis

  • Filed under:
  • | Post Points: 5
Page 1 of 1 (9 items) | RSS