Cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Making TC sending e-mails easily

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor
Hi guys,
What is the easiest way to make TC send e-mails?
Like if an item is released or a new revision is saved, send e-mail to following e-mail addresses etc.
An exchange server needed on the same server? Or can a POP3 system be used with some settings..
10 REPLIES

Re: Making TC sending e-mails easily

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor

Hi,

 

1. Emails should be send with notification when an revision will be released (or getting some status).

2. If you want send email outside Teamcenter, then you should have SMTP server.

 

Best regards

Bernard

Best regards

Bernard Pacula,
CAMdivision Sp. z o.o.
Consultant PLM/System Architect

Re: Making TC sending e-mails easily

Legend
Legend

If you already have a mail server setup make sure the Teamcenter server is enable for mail sending.

 

You can do a manual test as below. There is alot of pages describing this like   https://support.microsoft.com/en-us/kb/323350

 

Open command prompt and type following:

telnet [mail sserver name] 25

helo

mail from:[type and email adress with your domain]

rcpt to:[Your email adress]

data

[type a short message,  end with . CTRL]

 

Your email should now be send and you shall recive it  in your mailbox.

 

If this works then enable Subscription Manager through TEM setup.

Then you check that preference Mail_server_name is defined correct and add email adress on each Person in Organization.

Now the user can subscribe to different events so read more in Teamcenter documentation about it.

 

 

Re: Making TC sending e-mails easily

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor

Hi guys, thanks for the answers.

 

There is no mail server in the company.

They are using an external company to host their e-mails.

 

The first need is just sending e-mails to the users in TC only. Internal notification.

 

2nd, is it possible to make TC connect to the external mail hosting company to send e-mails?

 

Cem

Re: Making TC sending e-mails easily

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

While it may be possible to connect Teamcenter to an external smtp server I'm not sure that I'd recommend it due to the security risks. Better would be to stand up an internal smtp server for this purpose instead. Check out hMailServer (https://www.hmailserver.com/).


Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4

Re: Making TC sending e-mails easily

Solution Partner Valued Contributor Solution Partner Valued Contributor
Solution Partner Valued Contributor

Hello,

 

Randy's solution is the right way to send emails outside TC. If you want send with external server (on your provider) then you should have mail server without authentication, and this is the best source for spammer attack Smiley Sad

 

Best regards

Bernard

Best regards

Bernard Pacula,
CAMdivision Sp. z o.o.
Consultant PLM/System Architect

Re: Making TC sending e-mails easily

Genius
Genius

All

 

Good Morning,

 

I would like to send the PDF from TC to all my manufacturing folks inside the company thru' email, how do we do? is there any document explains? I can get MS exchange server from our IT folks.

 

Any help is appreciated

 

Regards

Venkat

Re: Making TC sending e-mails easily

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom
There are two methods in Teamcenter for sending notification emails. One is EPM-Notify which sends internal mail (inside Teamcenter) the other is EPM-notify-report which sends external email (outside Teamcenter). Besides those you also have a command line utility tc_mail_smtp. My best guess at your requirement would be to export at the end of a workflow using a combination of EPM-run-external-command and tc_mail_smtp.

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4

Re: Making TC sending e-mails easily

Genius
Genius

Randy thanks for reply. this is not in workflow, User wants to right click the dataset, send to with envelope as attachment. Is it possible?

Re: Making TC sending e-mails easily

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom
As long as the Person record has the "E-Mail Address" filled out then it should work by setting the following preferences:
Mail_server_name = mymailserver.fqdn
Mail_server_port = 25
Mail_OSMail_activated = true
Mail_internal_mail_activated = true

Use tc_mail_smtp to test that email can be sent after setting the prefs and restarting.

External notifications depend on tc_mail_smtp:
1. Identify your SMTP email server (myserver).
2. Create a text file in C:\Temp called EmailMe.txt with some simple text.
3. Open a Tc command window and run (example below - use real values):
tc_mail_smtp -to=bill.nye@thescienceguy.com -subject=Proof -server=myserver -body=C:\Temp\EmailMe.txt

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4