L'envoi de mails marche mieux comme cela.
darcs-hash:20050704184427-061a7-08701789ce6d74074105c5ddeacbaad4f38816ce.gz
This commit is contained in:
parent
9084722529
commit
21a6f60752
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ class cout:
|
||||||
recto_v="None"
|
recto_v="None"
|
||||||
media=""
|
media=""
|
||||||
str_cout=""
|
str_cout=""
|
||||||
From="Imprimante <%s>" % impression.From_imprimante
|
From=u"Imprimante <%s>" % impression.From_imprimante
|
||||||
|
|
||||||
def __init__(self, fichierps, media="", mode_couleur="Couleur", recto_v="None", taille="A4", nb_copie=1):
|
def __init__(self, fichierps, media="", mode_couleur="Couleur", recto_v="None", taille="A4", nb_copie=1):
|
||||||
""" * fichierps est le fichier PostScript (ou pdf) à analyser
|
""" * fichierps est le fichier PostScript (ou pdf) à analyser
|
||||||
|
|
|
@ -139,7 +139,7 @@ def calcul_prix(nom_fic, arguments):
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def send_email(self, sender, recipient, subject, body):
|
def send_email(sender, recipient, subject, body):
|
||||||
"""Send an email.
|
"""Send an email.
|
||||||
|
|
||||||
All arguments should be Unicode strings (plain ASCII works as well).
|
All arguments should be Unicode strings (plain ASCII works as well).
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue