SMTPit Pro

Next Generation Email plug-in

Send (Hard Coded) Button

This button is very similar to the "Send (Simple)" button. The "Send (Simple)" button uses fields to get the value for each SMTPit Pro function, while the "Send (Hard Coded)" button uses text strings directly in the functions.

For example, in the simple version, the "To" value is set as follows:

SMTPit_SetTo( Email::To )

In the hard coded version, the "To" is set as follows where "to@yourdomain.com" should be replaced with a real email address:

SMTPit_SetTo( "to@yourdomain.com" )

You can mix and match the way you use functions. For example you could hard code the "From" address and use a field for the "To" address, as follows:

SMTPit_SetFrom( "from@yourdomain.com" ) & "ΒΆ" & SMTPit_SetTo( Email::To )

You can even mix hard coded values and field values inside the same function: SMTPit_SetSubject( "Some Text " & Email::Subject )

Using the hard coded approach could be used in several places in FileMaker. You could have a script that uses the "Set Field" script step to send an email once the script is complete. You could also have a text field that uses an auto-enter calculation to send a message when a new record is created. In other words, you can send an email in any calculation that FileMaker has available.