06-30-2011 08:52 AM - edited 03-14-2019 08:09 AM
I am trying to send an email from a script when no agents are logged in. I think I have everything configured correctly but each time I test the script I on the send email step it times out and goes to the unsuccessful branch (so obviously I am not doing something right). I have tested via telnet that the email server is answering.
In my script I have 2 steps set up under the true branch of no agents logged in:
emailContact set is set with the subject "test", the body is set with "testing 1 2", and the emailContact is set with a variable named emailContact which is set as a contact and set to null.
the second step set is the sendeMail step and it is set with eMailContact set with varialbe emailContact, From is set with "shawnee" and to is set with my email address.
Am I missing or setting up one of those steps wrong?
thanks for your help!!
Solved! Go to Solution.
06-30-2011 08:55 AM
Sending an email uses the SMTP relay service on your email server. If it is exchange its VERY common to lock this down to certain IP's or subnet ranges in order to prevent email spammers from proxying through your exchange server. I would take a guess that security on exchange is your issue.
Chad Stachowicz
06-30-2011 08:55 AM
Sending an email uses the SMTP relay service on your email server. If it is exchange its VERY common to lock this down to certain IP's or subnet ranges in order to prevent email spammers from proxying through your exchange server. I would take a guess that security on exchange is your issue.
Chad Stachowicz
06-30-2011 10:41 AM
thanks for the reply Chad. I did have the exchange guys take a look at this and we did need to allow access. but that still did not correct the problem. we opened a telnet session from the uccx server and we were able to send an email and i did receive it. So it has to be something set wrong in my sendeMail step?
06-30-2011 10:50 AM
nevermind i got it!!! it was one of my steps set up wrong. i did not have the correct email set up. But i did need to take your advise to get the ip address allowed on the exchange server so thank you again for your help!!
06-30-2011 10:51 PM
If you have configured the exhcange correclty and set the correct e-mail address in UCCX e-mail susbsystem then you can even use the default option in From field to send the mail out because default option consider e-mail address as sender email address setup inUCCX e-mail susbystem
06-30-2011 10:51 AM
try from as an actual email address, not just a name.
If its not fixed by tonight when I get home, load up your script and take a look.
Glad I was able to fix part of your issue
HTH, rate if helpful
Chad
06-30-2011 10:53 AM
Your welcome! Have a nice day!
Chad
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide