Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #40977 > unrolled thread
| Started by | Νίκος Γκρ33κ <nikos.gr33k@gmail.com> |
|---|---|
| First post | 2013-03-09 13:20 -0800 |
| Last post | 2013-03-11 17:24 +0100 |
| Articles | 20 on this page of 29 — 8 participants |
Back to article view | Back to comp.lang.python
This mail never gets delivered. Any ideas why? Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-09 13:20 -0800
Re: This mail never gets delivered. Any ideas why? Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-09 13:25 -0800
Re: This mail never gets delivered. Any ideas why? Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-09 20:42 -0800
Re: This mail never gets delivered. Any ideas why? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-10 05:56 +0000
Re: This mail never gets delivered. Any ideas why? Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-09 22:00 -0800
Re: This mail never gets delivered. Any ideas why? Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-10 03:19 -0700
Re: This mail never gets delivered. Any ideas why? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-10 10:37 +0000
Re: This mail never gets delivered. Any ideas why? Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-10 11:39 -0700
Re: This mail never gets delivered. Any ideas why? Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2013-03-11 23:34 +0100
Re: This mail never gets delivered. Any ideas why? Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-26 01:49 -0700
Re: This mail never gets delivered. Any ideas why? Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-26 03:26 -0700
Re: This mail never gets delivered. Any ideas why? Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-05-26 13:44 -0700
Re: This mail never gets delivered. Any ideas why? Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-05-26 13:48 -0700
Re: This mail never gets delivered. Any ideas why? Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-05-26 14:43 -0700
Re: This mail never gets delivered. Any ideas why? Cameron Simpson <cs@zip.com.au> - 2013-05-27 10:22 +1000
Re: This mail never gets delivered. Any ideas why? Michael Torrie <torriem@gmail.com> - 2013-03-09 22:07 -0700
Re: This mail never gets delivered. Any ideas why? Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-09 21:10 -0800
Re: This mail never gets delivered. Any ideas why? Michael Torrie <torriem@gmail.com> - 2013-03-10 10:09 -0600
Re: This mail never gets delivered. Any ideas why? Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-10 10:53 -0700
Re: This mail never gets delivered. Any ideas why? Michael Torrie <torriem@gmail.com> - 2013-03-10 20:20 -0600
Re: This mail never gets delivered. Any ideas why? Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-10 10:53 -0700
Re: This mail never gets delivered. Any ideas why? Νίκος Γκρ33κ <nikos.gr33k@gmail.com> - 2013-03-09 21:10 -0800
Re: This mail never gets delivered. Any ideas why? Chris Angelico <rosuav@gmail.com> - 2013-03-10 09:15 +1100
Re: This mail never gets delivered. Any ideas why? Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2013-03-11 06:25 +0100
Re: This mail never gets delivered. Any ideas why? Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2013-03-11 06:47 +0100
Re: This mail never gets delivered. Any ideas why? Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2013-03-11 06:59 +0100
Re: This mail never gets delivered. Any ideas why? nagia.retsina@gmail.com - 2013-03-11 02:15 -0700
Re: This mail never gets delivered. Any ideas why? Benjamin Schollnick <benjamin@schollnick.net> - 2013-03-11 06:44 -0400
Re: This mail never gets delivered. Any ideas why? Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2013-03-11 17:24 +0100
Page 1 of 2 [1] 2 Next page →
| From | Νίκος Γκρ33κ <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-03-09 13:20 -0800 |
| Subject | This mail never gets delivered. Any ideas why? |
| Message-ID | <fdc2a4d2-1967-4906-907e-3cf121694549@googlegroups.com> |
SENDMAIL = '/usr/sbin/sendmail'
FROM = mail
TO = ['support@superhost.gr']
SUBJECT = "Επικοινωνία πιθανού πελάτη!"
TEXT = comment
message = """\
From: %s
To: %s
Subject: %s
%s
""" % (FROM, ", ".join(TO), SUBJECT, TEXT)
p = os.popen("%s -t -i" % SENDMAIL, "w")
p.write(message)
status = p.close()
if status != 256:
print( "<h2><font color=lime>Ευχαριστώ πολύ για το ενδιαφέρον! Θα επικοινωνήσω μαζί σου άμεσα :-)</font></h2>" )
else:
print( "<h2><font color=red>Δυστυχώς δεν μπόρεσε να αποσταλεί το e-mail :-(" )
===============
Do you see somehtign wrong in the above code?
[toc] | [next] | [standalone]
| From | Νίκος Γκρ33κ <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-03-09 13:25 -0800 |
| Message-ID | <c7fe4276-8ecf-4229-94e1-9b95a49f549a@googlegroups.com> |
| In reply to | #40977 |
mail = form.getvalue('mail')
id what the user types in an html form and click submits. this can be a non valid email of course i just check if there is a '@' in the mail address.
But will the mail, gets delivered even if mail's value is invalid?
[toc] | [prev] | [next] | [standalone]
| From | Νίκος Γκρ33κ <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-03-09 20:42 -0800 |
| Message-ID | <10f30df1-e0f8-4834-ae5f-b6e0d0aac079@googlegroups.com> |
| In reply to | #40979 |
Any ideas why the mail never gets delivered?
[toc] | [prev] | [next] | [standalone]
| From | Steven D'Aprano <steve+comp.lang.python@pearwood.info> |
|---|---|
| Date | 2013-03-10 05:56 +0000 |
| Message-ID | <513c209d$0$6512$c3e8da3$5496439d@news.astraweb.com> |
| In reply to | #40998 |
On Sat, 09 Mar 2013 20:42:03 -0800, Νίκος Γκρ33κ wrote: > Any ideas why the mail never gets delivered? What do the mail logs say? Can you send email using this mail server from Thunderbird, or does it fail there too? My wild guess is that the mail server is properly rejecting mail because you are trying to send to it without an account. -- Steven
[toc] | [prev] | [next] | [standalone]
| From | Νίκος Γκρ33κ <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-03-09 22:00 -0800 |
| Message-ID | <3daebceb-88e2-4d0b-bc32-802e6cece93e@googlegroups.com> |
| In reply to | #41004 |
Τη Κυριακή, 10 Μαρτίου 2013 7:56:45 π.μ. UTC+2, ο χρήστης Steven D'Aprano έγραψε: > My wild guess is that the mail server is properly rejecting mail because > you are trying to send to it without an account. Account 'support(-at-)hostgator.com' exists. It's the recipient mail address which is my personal address fot my web hosting business. In TB yes i can read email via SSL witohut any problem.
[toc] | [prev] | [next] | [standalone]
| From | Νίκος Γκρ33κ <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-03-10 03:19 -0700 |
| Message-ID | <cf30c94b-8fcd-41d8-9c8e-f6a0e4ad2a48@googlegroups.com> |
| In reply to | #41005 |
Anyone else migth ahve an idea please so that i can successfully send mail via python?
[toc] | [prev] | [next] | [standalone]
| From | Steven D'Aprano <steve+comp.lang.python@pearwood.info> |
|---|---|
| Date | 2013-03-10 10:37 +0000 |
| Message-ID | <513c624c$0$6512$c3e8da3$5496439d@news.astraweb.com> |
| In reply to | #41005 |
On Sat, 09 Mar 2013 22:00:39 -0800, Νίκος Γκρ33κ wrote: > Τη Κυριακή, 10 Μαρτίου 2013 7:56:45 π.μ. UTC+2, ο χρήστης Steven > D'Aprano έγραψε: > >> My wild guess is that the mail server is properly rejecting mail >> because you are trying to send to it without an account. > > Account 'support(-at-)hostgator.com' exists. It's the recipient mail > address which is my personal address fot my web hosting business. > > In TB yes i can read email via SSL witohut any problem. I didn't ask if you can READ email using Thunderbird, I asked if you can SEND email using Thunderbird, *specifically* sending using the same mail server as your script is trying to do. There is no point checking that Thunderbird can send email as "nikos.gr33k@gmail.com" using the gmail server. You have to check whether it can send email as "mail" (notice that it is just a local name, not a full email address), using /usr/sbin/sendmail on whatever machine you happen to be using. A second question... what happens if you try to send email using sendmail directly from the command line? If this is a hosted server, are you sure that they have enabled sendmail on the hosted server? What happens if you try to send email using the email library, as seen here: http://docs.python.org/3/library/email-examples.html instead of using popen to talk directly to sendmail? -- Steven
[toc] | [prev] | [next] | [standalone]
| From | Νίκος Γκρ33κ <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-03-10 11:39 -0700 |
| Message-ID | <08433d4e-6ffb-4929-a708-f8ba1d670449@googlegroups.com> |
| In reply to | #41011 |
Hey man this worked via Python!
[code]
# =================================================================================================================
# if html form is submitted then send user mail
# =================================================================================================================
if( userform ):
if (mail is None) or (comment is None) or ('@' not in mail) or ('Γράψε μου εδώ το σχόλιο σου!' in comment):
print( "<h2><font color=red>Συμπλήρωσε σωστά το mail σου και δώσε το σχολιασμό σου!</font></h2>" )
else:
FROM = mail
MESSAGE = comment
if( os.system( 'echo "%s" | mail -s "%s" support@superhost.gr' % (MESSAGE, FROM) ) ):
print( "<h2><font color=red>Δυστυχώς δεν μπόρεσε να αποσταλεί το e-mail :-(" )
else:
print( "<h2><font color=lime>Ευχαριστώ πολύ για το ενδιαφέρον! Θα επικοινωνήσω μαζί σου άμεσα :-)</font></h2>" )
sys.exit(0)
[/code]
Thank you! I beleive this is the simplest way of sending an email!
[toc] | [prev] | [next] | [standalone]
| From | Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> |
|---|---|
| Date | 2013-03-11 23:34 +0100 |
| Message-ID | <khlm6b$i7g$1@r03.glglgl.gl> |
| In reply to | #41030 |
Am 10.03.2013 19:39 schrieb Νίκος Γκρ33κ:
> Hey man this worked via Python!
[...]
> if( os.system( 'echo "%s" | mail -s "%s" support@superhost.gr' % (MESSAGE, FROM) ) ):
[...]
> Thank you! I beleive this is the simplest way of sending an email!
Until you get a MESSAGE which has a " sign in it, or a FROM.
(Sorry, didn't see this message before.)
In order to prevent trouble with this, it might be better to use
subprocess and to do
sp = subprocess.Popen(['mail', '-f', FROM, '-s', SUBJECT,
'support@superhost.gr], stdin=subprocess.PIPE)
sp.communicate(MESSAGE)
res = sp.wait()
if res:
...
else:
...
If you do so, you can have FROMs, SUBJECTs and MESSAGEs conaining every
character you want, including " and ', an no shell will complain about
it or be confused.
(Note that I changed the arguments for mail a little bit, because -s
prevedes the subject and -f the from.)
Thomas
[toc] | [prev] | [next] | [standalone]
| From | Νίκος Γκρ33κ <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-03-26 01:49 -0700 |
| Message-ID | <ff258b70-29e7-4291-bc22-55e090cc6aff@googlegroups.com> |
| In reply to | #41097 |
Τη Τρίτη, 12 Μαρτίου 2013 12:34:50 π.μ. UTC+2, ο χρήστης Thomas Rachel έγραψε: > Am 10.03.2013 19:39 schrieb οΏ½οΏ½οΏ½οΏ½οΏ½ οΏ½οΏ½οΏ½33οΏ½: > > > Hey man this worked via Python! > > > > [...] > > > > > if( os.system( 'echo "%s" | mail -s "%s" support@superhost.gr' % (MESSAGE, FROM) ) ): > > > > [...] > > > > > Thank you! I beleive this is the simplest way of sending an email! > > > > Until you get a MESSAGE which has a " sign in it, or a FROM. > > > > (Sorry, didn't see this message before.) > > > > In order to prevent trouble with this, it might be better to use > > subprocess and to do > > > > sp = subprocess.Popen(['mail', '-f', FROM, '-s', SUBJECT, > > 'support@superhost.gr], stdin=subprocess.PIPE) > > sp.communicate(MESSAGE) > > res = sp.wait() > > if res: > > ... > > else: > > ... > > > > > > If you do so, you can have FROMs, SUBJECTs and MESSAGEs conaining every > > character you want, including " and ', an no shell will complain about > > it or be confused. > > > > (Note that I changed the arguments for mail a little bit, because -s > > prevedes the subject and -f the from.) > > > > > > Thomas Hello and sorry for beign so much late to respond. Yout solution is clearly betetr than the simple mail solution i found to be working but i think subprocess requires that i use Python3 interpeter which of course my web host supports, but it would fail running my MYSQLdbd module. So is there still a way to use your solution?
[toc] | [prev] | [next] | [standalone]
| From | Νίκος Γκρ33κ <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-03-26 03:26 -0700 |
| Message-ID | <37ba3304-a18e-4a5a-86f5-033b449eb76f@googlegroups.com> |
| In reply to | #41864 |
Because Python 3 doesnt support MySQLdb moudle yet i decided to use mypysql-0.5.5.tar.gz which i found in google. problem is that i dont know how to run this file in my webost account so it cant be utilized and so i can pass to Python 3 at last. i ahve uplaoded the file viua cPnael in webhost but then what? How doi "embed" this in python so to make use of it?
[toc] | [prev] | [next] | [standalone]
| From | Νίκος Γκρ33κ <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-05-26 13:44 -0700 |
| Message-ID | <531b6ec4-2782-4886-bbfe-a395752c026f@googlegroups.com> |
| In reply to | #41097 |
# =================================================================================================================
# if html form is submitted then send user mail
# =================================================================================================================
if( mailform ):
if (FROM is None) or (MESSAGE is None) or ('@' not in FROM) or ('Γράψε μου εδώ το σχόλιο σου!' in MESSAGE):
print( "<h2><font color=red>Συμπλήρωσε σωστά το mail σου και δώσε το σχολιασμό σου!</font></h2>" )
else:
sp = subprocess.Popen(['mail', '-f', FROM, '-s', SUBJECT, 'support@superhost.gr'], stdin=subprocess.PIPE)
sp.communicate(MESSAGE)
status = sp.wait()
if status:
print( "<h2><font color=lime>Ευχαριστώ πολύ για το ενδιαφέρον! Θα επικοινωνήσω μαζί σου άμεσα :-)</font></h2>" )
else:
print( "<h2><font color=red>Δυστυχώς δεν μπόρεσε να αποσταλεί το e-mail :-(" )
sys.exit(0)
===================
When i try this i get a blank page after hitting the submit button.
How am i gonan figure out what went wrong?
[toc] | [prev] | [next] | [standalone]
| From | Νίκος Γκρ33κ <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-05-26 13:48 -0700 |
| Message-ID | <6a94ee23-f0f6-470c-a927-0d6bb35a3114@googlegroups.com> |
| In reply to | #46115 |
I'am receiving this now after some tries:
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/home/nikos/public_html/cgi-bin/metrites.py in ()
139 else:
140 sp = subprocess.Popen(['mail', '-f', FROM, '-s', 'Mail from Guest', 'support@superhost.gr'], stdin=subprocess.PIPE)
=> 141 sp.communicate( MESSAGE )
142 status = sp.wait()
143 if status:
sp = <subprocess.Popen object>, sp.communicate = <bound method Popen.communicate of <subprocess.Popen object>>, MESSAGE = 'kdsjfksdjkfjksdjfs\r\n\t'
/opt/python3/lib/python3.3/subprocess.py in communicate(self=<subprocess.Popen object>, input='kdsjfksdjkfjksdjfs\r\n\t', timeout=None)
901 if input:
902 try:
=> 903 self.stdin.write(input)
904 except IOError as e:
905 if e.errno != errno.EPIPE and e.errno != errno.EINVAL:
self = <subprocess.Popen object>, self.stdin = <_io.BufferedWriter name=5>, self.stdin.write = <built-in method write of _io.BufferedWriter object>, input = 'kdsjfksdjkfjksdjfs\r\n\t'
TypeError: 'str' does not support the buffer interface
args = ("'str' does not support the buffer interface",)
with_traceback = <built-in method with_traceback of TypeError object>
[toc] | [prev] | [next] | [standalone]
| From | Νίκος Γκρ33κ <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-05-26 14:43 -0700 |
| Message-ID | <fb51d94f-cab7-4ef6-b6c6-0953110e5baf@googlegroups.com> |
| In reply to | #46118 |
This seems to correct th error:
# =================================================================================================================
# if html form is submitted then send user mail
# =================================================================================================================
if( mailform ):
if (FROM is None) or (MESSAGE is None) or ('@' not in FROM) or ('Γράψε μου εδώ το σχόλιο σου!' in MESSAGE):
print( "<h2><font color=red>Συμπλήρωσε σωστά το mail σου και δώσε το σχολιασμό σου!</font></h2>" )
else:
sp = subprocess.Popen(['mail', '-f', FROM, '-s', 'Mail from Guest', 'mymail@blabla.gr'], stdin=subprocess.PIPE)
sp.communicate( bytes( MESSAGE, "utf-8" ) )
status = sp.wait()
if status:
print( "<h2><font color=lime>Ευχαριστώ πολύ για το ενδιαφέρον! Θα επικοινωνήσω μαζί σου άμεσα :-)</font></h2>" )
else:
print( "<h2><font color=red>Δυστυχώς δεν μπόρεσε να αποσταλεί το e-mail :-(" )
sys.exit(0)
I though it was a good idea to convert the message string to utf-8 since this si the way ti wants it.
but i receive no mail though....
[toc] | [prev] | [next] | [standalone]
| From | Cameron Simpson <cs@zip.com.au> |
|---|---|
| Date | 2013-05-27 10:22 +1000 |
| Message-ID | <mailman.2223.1369614175.3114.python-list@python.org> |
| In reply to | #46118 |
On 26May2013 13:48, =?utf-8?B?zp3Or866zr/PgiDOk866z4EzM866?= <nikos.gr33k@gmail.com> wrote:
| I'am receiving this now after some tries:
|
| A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
|
| /home/nikos/public_html/cgi-bin/metrites.py in ()
| 139 else:
| 140 sp = subprocess.Popen(['mail', '-f', FROM, '-s', 'Mail from Guest', 'support@superhost.gr'], stdin=subprocess.PIPE)
| => 141 sp.communicate( MESSAGE )
| 142 status = sp.wait()
| 143 if status:
| sp = <subprocess.Popen object>, sp.communicate = <bound method Popen.communicate of <subprocess.Popen object>>, MESSAGE = 'kdsjfksdjkfjksdjfs\r\n\t'
| /opt/python3/lib/python3.3/subprocess.py in communicate(self=<subprocess.Popen object>, input='kdsjfksdjkfjksdjfs\r\n\t', timeout=None)
| 901 if input:
| 902 try:
| => 903 self.stdin.write(input)
Well, you should probably be writing to sp.stdin, not sys.stdin.
| 904 except IOError as e:
| 905 if e.errno != errno.EPIPE and e.errno != errno.EINVAL:
| self = <subprocess.Popen object>, self.stdin = <_io.BufferedWriter name=5>, self.stdin.write = <built-in method write of _io.BufferedWriter object>, input = 'kdsjfksdjkfjksdjfs\r\n\t'
| TypeError: 'str' does not support the buffer interface
| args = ("'str' does not support the buffer interface",)
| with_traceback = <built-in method with_traceback of TypeError object>
This is symptomatic of sys.stdin (well, whatever you're writing to)
being open in binary mode instead of text mode. And you're passing
a str. Try passing std.encode().
Cheers,
--
Cameron Simpson <cs@zip.com.au>
Yes, [congress is] petty and venal and selfish. That's why they're called
_representatives_. - Will Durst
[toc] | [prev] | [next] | [standalone]
| From | Michael Torrie <torriem@gmail.com> |
|---|---|
| Date | 2013-03-09 22:07 -0700 |
| Message-ID | <mailman.3147.1362892052.2939.python-list@python.org> |
| In reply to | #40979 |
On 03/09/2013 02:25 PM, Νίκος Γκρ33κ wrote:
> mail = form.getvalue('mail')
>
> id what the user types in an html form and click submits. this can be
> a non valid email of course i just check if there is a '@' in the
> mail address.
>
> But will the mail, gets delivered even if mail's value is invalid?
Who knows. You haven't specified how you are sending e-mail. Likely, if
an e-mail address is invalid, python still happily hands it off to your
designated mail server or local MTA (mail transfer agent--could be
sendmail). What happens there depends entirely on the policies of the
mail server or MTA you are using.
If python is trying to use sendmail, then probably the process would
just fail and return some sort of error code. But you will need to
check on the documentation of whatever e-mail library you are using in
Python.
[toc] | [prev] | [next] | [standalone]
| From | Νίκος Γκρ33κ <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-03-09 21:10 -0800 |
| Message-ID | <475a8e9c-5645-475f-8107-013027884e63@googlegroups.com> |
| In reply to | #41001 |
Τη Κυριακή, 10 Μαρτίου 2013 7:07:25 π.μ. UTC+2, ο χρήστης Michael Torrie έγραψε:
> On 03/09/2013 02:25 PM, Νίκος Γκρ33κ wrote:
>
> > mail = form.getvalue('mail')
>
> >
>
> > id what the user types in an html form and click submits. this can be
>
> > a non valid email of course i just check if there is a '@' in the
>
> > mail address.
>
> >
>
> > But will the mail, gets delivered even if mail's value is invalid?
>
>
>
> Who knows. You haven't specified how you are sending e-mail. Likely, if
>
> an e-mail address is invalid, python still happily hands it off to your
>
> designated mail server or local MTA (mail transfer agent--could be
>
> sendmail). What happens there depends entirely on the policies of the
>
> mail server or MTA you are using.
>
>
>
> If python is trying to use sendmail, then probably the process would
>
> just fail and return some sort of error code. But you will need to
>
> check on the documentation of whatever e-mail library you are using in
>
> Python.
I'am using smtplib and i ahve contacted the hostgator administrators and they say that Sendmail is ebaled for my reseller account.
[toc] | [prev] | [next] | [standalone]
| From | Michael Torrie <torriem@gmail.com> |
|---|---|
| Date | 2013-03-10 10:09 -0600 |
| Message-ID | <mailman.3156.1362931801.2939.python-list@python.org> |
| In reply to | #41002 |
On 03/09/2013 10:10 PM, Νίκος Γκρ33κ wrote: > I'am using smtplib and i ahve contacted the hostgator administrators > and they say that Sendmail is ebaled for my reseller account. You need to post the code snippet that's failing (possibly changing private details like smtp server ip address for security reasons), and any exception trace that you are getting! Other wise, sorry we've done all we can.
[toc] | [prev] | [next] | [standalone]
| From | Νίκος Γκρ33κ <nikos.gr33k@gmail.com> |
|---|---|
| Date | 2013-03-10 10:53 -0700 |
| Message-ID | <3de79596-4578-4265-afce-af04751805ef@googlegroups.com> |
| In reply to | #41020 |
Τη Κυριακή, 10 Μαρτίου 2013 6:09:53 μ.μ. UTC+2, ο χρήστης Michael Torrie έγραψε: > You need to post the code snippet that's failing (possibly changing > private details like smtp server ip address for security reasons), and > any exception trace that you are getting! Other wise, sorry we've done > all we can. Michael may i send you an email with my reseller account password so you can try things for yourself because i'am not sure what exactly i must do in the remote jailed unix prompt ?
[toc] | [prev] | [next] | [standalone]
| From | Michael Torrie <torriem@gmail.com> |
|---|---|
| Date | 2013-03-10 20:20 -0600 |
| Message-ID | <mailman.3175.1362968443.2939.python-list@python.org> |
| In reply to | #41024 |
On 03/10/2013 11:53 AM, Νίκος Γκρ33κ wrote: > Michael may i send you an email with my reseller account password so > you can try things for yourself because i'am not sure what exactly i > must do in the remote jailed unix prompt ? It's never a good idea to share that kind of information with folks on the internet. Your subject line reads: "this mail never gets delivered." What e-mail? What code did you use to send this e-mail? What happened? What exceptions, if any were given. I know there's a language barrier here, but you definitely make a habit of not providing us with sufficient details to help you get your code working.
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | comp.lang.python
csiph-web