Please enable JavaScript to view this site.

The .TXT file needs to contain the following information making sure that there is a carriage return after the last entry i.e. a blank line or any line at all. We have just output the word END in our example to make sure there is a carriage return.

Apart from the EMLTOADR each keyword may only be specified once in the .TXT file. You may specify as many EMLTOADR keywords as you wish to send email.

Please note that the keywords before the = must be entered exactly as described and in uppercase e.g.

EMLFMADR=support@cobwebb.com
EMLFMNAM=Cobwebb Test
SUBJECT=Test for FMEMAIL
BODY=%FILE"/test/html/COB_BODY.html"
EMLTOADR=Your Username                                     test1@cobwebb.com
EMLTOADR=Test                                              test@cobwebb.com
END

 

Keyword

Description

Max Len

Example

EMLFMADR=

From Email Address

256

support@cobwebb.com

EMLFMNAM=

From Name

50

Cobwebb Test

SUBJECT=

Email Subject

256

Test for FMEMAIL

BODY=

Email Body

1024

%FILE"/test/html/COB_BODY.html"

EMLTOADR=

Recipient Email Name & Address

315

Please see Formatting the EMLTOADR line below for details

Formatting the EMLTOADR line

The first 9 characters contain EMLTOADR=

The next 50 characters contain the Email To Name (i.e. starting at position 10)

The next 256 characters contain the Email To Address (i.e. starting at position 60)

E.g.

       1         2         3         4         5         6         7         8

12345678901234567890123456789012345678901234567890123456789012345678901234567890

EMLTOADR=Your Username                                     test1@cobwebb.com

Notes:

1.If you leave the Email To Name blank the program will extract the characters from the email address up to the @ character to use as the name. It will also replace any β€˜.’ or’_’ with a space.

2.If you do need to leave the Email To Name blank the Email To Address must still be specified from position 60 in the .TXT file.