I have an XPage application designed to work in a browser. It has been installed at my customer site since last October. The application is used by internal employees as well as contractors. The contractors each have their own e-mail addresses (gmail, comcast, yahoo, hotmail, whatever).
The problem I'm seeing is that e-mail messages sent by internal users seem to go out to their customers just fine. However, e-mail messages sent by the contractors do not seem to go out to their customers. It's difficult to confirm this, so I'm not sure if it's ALL contractor messages or only some of them. I'm assuming all.
My concern is that the Domino server domain is customer.com but the From address on the e-mail may be john@gmail.com
So, I suspect the header of the e-mail address may be the problem here and perhaps the messages are being picked up as spam. Can someone enlighten me? I've been developing xpage applications for many years, but this is the first time I've dealt with this kind of e-mail issue.
I suspect I may be able to fix this by simply creating a generic user in the Domino address book Messaging@customer.com and then use that address to send all the e-mail messages. However, I'd like to better understand the problem before stabbing at potential solutions.
Hi Bob
Can you let us know what credentials the contractor users use to access the application? Is this Anonymous access? How the email
getting triggered from an application when Contractor uses the application?
Hi Bob,
The email triggered by internal employees as well as contractors using the XPage application will be routed through the Domino server. We need to understand when the email triggered by internal employee as well as contractors how the email address looks in the mail.box.
This can be done by pausing the router task on the xpages hosted Domino server. Issue the below command on the server to pause the router.
Tell Router Pause
With the router task paused, you can trigger email one by internal user and another by contractor. The triggered emails will be captured in the mail.box of the Domino server.
Now you can understand looking at the email document in the mail.box to how the email is constructed which will give a clue.
To resume the router you can issue the command Tell Router Resume.
Thank you.
Hi
In some ways, you are sending spoof emails. Some antispam gateways check that : they rely on the SPF or DKIM lists to check that you are an authorized sending server for a particular domain.
In that case, the email is refused by the recipient (check SMTP logs), and the NDR message should return back to the address you had put as sender - provided it would not get into another problem itself, like being dropped by antispam.
Thank you for that explanation, Fabrice. That's what I suspected, but didn't really understand it.
My solution is to simply use a generic registered Domino user as the Principal name for all messages sent by the application - regardless of whether the sender is an internal employee of the company or a contractor. I'll set the ReplyTo with the sending user address for replies, though.
Thank you again, hope this helps someone else as well.
Thank you Bob :)
So smart to use the ReplyTo field : event better that a workaround, I believe you got the right way to do it.