|
durumdara
durumdara at gmail.com
Fri Nov 3 09:22:39 EST 2006
Hi !
Interesting, because I copy this code from other module, paste into my
psp page, and then I got error:
...
# Mail to admin
import mailtools
mailtools.SendMail("xxxxxxxx.admin at xx.xxxxxx.org",
["xxxx at xx.xxxxxx.org"],
"Xxxxxxxxxxxxxxxxxxxx", body, Server="xx.xxxxxx.org",
SmtpUsr = "xxxxxxxx.xxxxx at xx.xxxxxx.org", SmtpPwd = "xxxxxxxxxxxx")
%>
<center>
When I join to one line, the problem vanished:
mailtools.SendMail("xxxxxxxx.admin at xx.xxxxxx.org",
["xxxx at xx.xxxxxx.org"], "Xxxxxxxxxxxxxxxxxxxx", body,
Server="xx.xxxxxx.org", SmtpUsr = "xxxxxxxx.xxxxx at xx.xxxxxx.org",
SmtpPwd = "xxxxxxxxxxxx")
What happened ???
Thanks for your help !
dd
|