Forum Discussion

Former_Member's avatar
Former_Member
Ideator I
9 years ago

Emailing from ARAS fails

I have gone over every single setting.  I can send email using a Method in ARAS if I call the .NET SMTP Client.  If I use the Item.Email method I see an email.xml file in the Temp folder but I never see any activity on my SMTP Server or, if I use the File Pickup method and point to a dead folder, I never see any file in the folder.  Near as I can tell ARAS is simply not emailing anything.  I have used the simpleEmailTest code, I have altered it, I have created PRs and ECRs (we added notifications to them that we never see). I have checked my web.config and the Innovator Configuration files and, as I said, they are all good which is confirmed by the emails I can send. I am wondering how ARAS sends emails.  If I know what .NET API is being used I can test it independently to see if it is the cause.  Lacking this I do not know what to do as I cannot see into the black box that is ARAS.  I am assured this works, and I am sure it does, but my experience does not match up with anything I can find on line. If anyone can tell me what .NET APIs ARAS uses for email it would help.  It does not seem to be the .NET SMTP client as code based on that API works...

6 Replies

  • Here are fragments of my Config files: InnovatorServerConfig: <Mail SMTPServer="localhost"/> <!-- <operating_parameter key="temp_folder" value="C:\inetpub\mailroot\Pickup\"/> -->   web.config Mail settings: system.net> <mailSettings> <smtp deliveryMethod="Network" from="aras_admin@xxxx.com">  (Intentionally redacted, proper email address is in actual file) <network defaultCredentials="false" host="127.0.0.1" password="" port="25" userName="" /> <specifiedPickupDirectory pickupDirectoryLocation="D:\Temp" /> </smtp> </mailSettings> </system.net> </configuration>  
  • I have exhausted every possibility.  ARAS never produces any email output other than writing a file to the Temp folder.  If I make the ARAS Temp folder the same as the IIS SMTP Pickup folder an email will go, otherwise I never see any activity of any kind from ARAS.  I have put an SMTP server up that I can watch the activity on and it shows activity from any other send effort except the standard ARAS Item.email methods. I have written code that uses .NET SMTP in an ARAS Method and that always works.  I can make it put a file in a folder if I set IIS up to do that.  I can drop files into the IIS Pickup folder and see them go.  I can send to IIS from any other application except ARAS via the internal Email methods. At this point we are dead in the water and are looking at having to write custom Email handlers for every single thing we need notifications from.  I am deeply disappointed in how little information I can obtain and how difficult it has been to diagnose this given the opacity I am experiencing.  I cannot get any error information out of ARAS, I have no visibility into what is going on, it is a black box that consumes emails and never outputs anything to any form of server. Please, can someone shed light on what is going on here?  I am at 4 days of doing what amounts to the same things in a vain hope I find something I missed, but everything keeps pointing back to something in ARAS that I cannot see so cannot fix.
  • Hello, If these emails are being written to \Innovator\Server\temp\, there may be an operating parameter in the InnovatorServerConfig.xml file that is interfering with your trying to send emails. Could you please confirm that the following operating parameter is disabled in the InnovatorServerConfig.xml? <disabled_operating_parameter key="email_debug_option" value="file"/> <disabled_operating_parameter key="email_debug_option" value="file"/> If that doesn't resolve your issue, could you please provide the method code that you are using to send the email? Chris _____________________________ Christopher Gillis Aras Labs Software Engineer
  • Dear Team,   i want to send a notification mail just after saving the assignee's in Projects. Please help me out of this.
  • Hello, Your question seems to be different than the original problem of this post. Could you please create a new forum post with your question? This will maximize visibility among the other members of the Aras community. Thank you, Chris ______________________________________________ Christopher Gillis Aras Labs Software Engineer
  • Dear Christopher, whenever we assign activity to certain role then it will show in his/her My In basket. But i want that he/she should receive mail at that time.