Home
TeamSite
Email works on DEV but fails on UAT/Production
citizen
TeamSite 6.5 on Solaris, SP 0
I have an app sending "reject notification" emails via Mailer.pm ( my($mailer) = new Mail::Mailer('smtp', Server => $$href{ms}); ) -- totally hand coded, no templates, not "solutions"-based -- and everything is fine on the Dev environment but email is not sent when code is moved to UAT/Production. "To:" is usually multiple addresses in an array but sometimes only one. No "Cc:" or "Bcc:" involved. This script was a "copy, paste, tweak" version of the "task notification" email script that works fine on all servers. (Yeah, I'm gonna spend extra time in Programmer's Purgatory for "not doin' this right.") The only differences between these two external task scripts are in the parameter handling and method of building the "To:" list of addresses along with minor diffences in content.
Any ideas as to what could be causing this?
Summary:
Notify: Dev=sent UAT/Prod=sent
Reject: Dev=sent, UAT/Prod=NotSent <---????????
Thanks in advance for any ideas...
-Gene
Find more posts tagged with
Comments
nipper
First are your mail settings the same in iw.cfg ?
citizen
Yes.
Adam Stoller
It's unclear from your message whether *some* mail is working in UAT/Prod or *no* mail is working there.
If the latter - verify the settings in the iw.cfg file (make sure you're looking at the right file - on Unix it's the one in /etc not the one in IWHOME/etc)
Then verify the connectivity to the mail server: telnet [smtp-server] 25
If the connectivity is there - my general recommendation when running into mail problems is to get in touch with your local Mail Guru - who can help by tracking the various SMTP logs and such to see what's happening.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com