Posted by Jim Guerber on September 24, 2007 at 17:38:20:
In Reply to: Re: EmailPtr posted by Grant Foraker on September 24, 2007 at 14:52:51:
I have spent hours on this one and I cannot see any problem with my code. I tried to simulate your program, but it works each time. Here is my program.....
clear
print(et)
close(1) & open(1) 'lfe'
print (1)(tr);(Server = 'smtp.sonic.net mail')
print (1)(tr);(from = 'jim@@signature.net')
print (1)(tr);(to = 'jim@@signature.net')
print (1)(tr);(to='jim@@signature.net')
print (1)(tr);(cc='jim@@signature.net')
print (1)(tr);(rr='jguerber@@sonic.net')
print (1)(tr);(subject = 'here is a sample print from the email printer')
print (1)(tr);(log = 'email.log','cos','erase')
print (1)(tr);(text='this is init text')
print (1)(tr);(user='jim')
print (1)(tr);(password='xxxxxxx')
for i = 1 to 10
print(1)' line ';i
next i
done:
print 'done'
wait
stop
excp:
print 'excp = ';excp
goto done
Your log shows that when your program fails, it provides "mariah@ssasd.com" as the user name. I don't know how that could happen.