Skip to main content  
  Easy400   |       IBM Systemi home   |   RSS feed
Public Source
 
Introduction
Main utilities
E-mail address validation
Index
 
Download
 
 

 
Search   
MIME & Mail for IBM-i
E-mail address validation

MMAIL features an e-mail address validation process for all messages sent by system API QtmSendmail through procedure SendMail() of service program MMAIL/SENDMAIL.

This validation process applies to

  1. MMAIL commands EMLHTML, EMLMSG, EMLPTUMSG, EMLQPMSG, EMLSAVF, EMLSPL, EMLSPLF2, EMLSPLX, EMLSPL2, EMLSPL3, EMLSRCM, EMLSTMF, EMLTXTSTMF, RESEND, SENDMIME, SNDDSTL, SNDMIME, STREMLSPLF, STREMLSPL2, and STRMONIFS
  2. All outgoing messages sent by AMailer
  3. All user programs using MMAIL procedure SendMail() to send e-mail messages
Note - This validation process does not apply to commands sending messages through system API QtmsCreateSendEmail: EMLSMTPEMM, EMLNOTE, and POSTANOTE.

This e-mail address validation process performs the following checks:

  1. The e-address must contain a single character @
  2. Embedded spaces are allowed
  3. Uppercase and lowercase characters are allowed (they are always converted to lowecase before being checked)
  4. Valid characters are documented in a record of physical file MMAILDATA/EMAILCHARS.
    You may use a DFU to update it.
By default, all e-mail addresses are validated: both the sender's one and the recipient ones.

To suppress this type of validation you should enter command
MMAIL/VLDEMLADDR VALIDATE(*NO)
From this point on, e-mail addresses are no longer validated.
To resume e-mail address validation, enter command
MMAIL/VLDEMLADDR VALIDATE(*YES)


    Contact