Smtp email with different sender address

Please complete the details below then remove this line:


Domino/Notes Version: 14.5 FP1
Operating System: Windows Server 2022


Problem/Query:

Hello Forum,

How to send smtp email with different sender address.

Is that possible with Domino standard things?

Kind regards

Hubertus

With the ordinary mail.send the only way to change this is using principal field and you will get a sent by message in the email.
So the approach is to create an email with all required fields and copy it directly into the mailbox using lotusscript or java. Easiest way is to stop the router, send an email take a copy of the email for investigation to another database. and start the router.
Now you have a functioning email doc that you can look at.
a few things to keep a look out for

  1. Posteddate field is needed
  2. Sendto but also recipients field is needed
  3. I think you need to explode groups manually for these to work ( you need to double check that)

And there is more fields but these is what I remember on the top of my mind

Hi,

many thanks for your input.

However, since this is not so easy to do with on-board resources, the customer now wants to use the iQ.Suite from GBS.

Regards

Hubertus

Isn’t iq.suite a email gateway software that domino sends and receive emails thru. That would not be involved in the email creation.

In what cases do you need to send email with another email than the users mail adress?

But I think the solution is simple. Just use the Location settings in the Notes client. More precisely, define a new Location document with a new, different outgoing address. Mail can then be sent just like any other.