Manage Learn to apply best practices and optimize your operations.

Changing the sender's email address in web mail

This tip describes how to change the sender's e-mail address in Web mail.

Hello, I have a small lotusscript agent to send mail notifications in my web application whenever somebody registers to my website. However, the mail always carries the server name as the sender's address.

I searched and several other forums without any success. Then I found this simplest answer to this problem by chance.

 the correct syntax is : doc.principal = "<emailaddress><blankspace>" for example, if you want to be your sender's email address, then the code is : doc.principal = " " likewise, if you want capture the sender's address through user's input the code is doc.principal = email+" " where 'email' is the email address entered by the user or stored in a field. the email should be suffixed by a single blank space. another example, doc.principal = "RK Prasad Venugopal <> ". Again the blank space after the email address is very important. If you miss it, it will give wrong results. I hope this will solve the problem many of us facing. Thanks & Regards Ramakrishnaprasad Venugopal

Dig Deeper on Domino Resources - Part 3

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...