Since QtmmSendMail doesn't like trailing blanks before the @ sign, I 
changed VldEmail in this way:

0091.00  *  Validate characters in "email1"            
0092.00 C*    ' '           checkr    email1        l1 
0092.01 c                   eval      l1 = r-1         

I replaced the code in line 92.

Whether this makes VldEmail failure proof or not, I don't know, but it 
does fix this problem.


--- In [email protected], "Monte Schmiege" <[EMAIL PROTECTED]> wrote:
>
> I just created a subprocedure that wraps a bunch of MMAIL 
> subprocedures, and I got it to work.  Hurrah!
> 
> I decided to test something invalid, like a bad email address and 
> immediately made MailSend fail.  Well, sort of.
> 
> I get "XXXMAILSND - QtmmSendMail API failed CPF3C17 ".
> 
> This is because I used an email address like "none @something.net".  
> Notice the space.  VldEmail likes it.  QtmmSendMail does not.
> 
> Since I don't really know what a valid email looks like, I don't know 
> how to fix it.  I was hoping VldEmail was the holy grail of email 
> checkers.
>






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Easy400Group/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to