Manage Learn to apply best practices and optimize your operations.

Sending Mail Only When Document Is Validated

Ever had a problem, when using @mailsend in form to send mail, that mail gets sent even if field values aren't validated? There might have been @isdocbeingsaved which for some reason didn't work properly. However putting the following formula in to button formula will do the trick.

This will send the mail ONLY when all fields are validated. Did work with 5.06a at least.

@If(@Command([FileSave]);@MailSend(SendTo; ""; "" ; "Subject: Feedback" ;"" ; "Body of the message";"");
@Command([FileCloseWindow])

Dig Deeper on Lotus Notes Domino Administration Tools

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com'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 ...

SearchDataCenter

SearchContentManagement

Close