I will respond to part of this, although it wasn't directed to me.
Tim Williams wrote:
> However it really depends on the use-case, relaying through another
> server will give you no control over bad addresses, you have to wait
> for bounces from the recipient's server, or conversely the ISP
On 22/08/06, Tim Roberts <[EMAIL PROTECTED]> wrote:
> John Draper <[EMAIL PROTECTED]> wrote:
Hi Tim :)
> Tim William's answer is not exactly correct. The host you specify in the
> smtplib.SMTP constructor should NOT be the MX record for any of the
> recipients. You should never have to look up
Tim Williams wrote:
> On 21/08/06, John Draper <[EMAIL PROTECTED]> wrote:
>
>> In "smtplib" module, the "sendmail" method of function is to be passed
>
> > host, but it is the Domain name
>
>> for the SMTP Server as gotten from the "dig" command? IE: dig -tMX
>> would give me the SMTP
>> serv
John Draper <[EMAIL PROTECTED]> wrote:
>
>In "smtplib" module, the "sendmail" method of function is to be passed a
>host, but it is the Domain name
>for the SMTP Server as gotten from the "dig" command? IE: dig -tMX
>would give me the SMTP
>server. In my code I have:
>
>try:
>print "Sen
On 21/08/06, Tim Williams <[EMAIL PROTECTED]> wrote:
> On 21/08/06, John Draper <[EMAIL PROTECTED]> wrote:
Sorry, there's an indentation error here
except smtplib.SMTPRecipientsRefused, x : #all recips failed
for recip in x.recipients:
print recip
server.quit()
break
it
On 21/08/06, John Draper <[EMAIL PROTECTED]> wrote:
> In "smtplib" module, the "sendmail" method of function is to be passed
> host, but it is the Domain name
> for the SMTP Server as gotten from the "dig" command? IE: dig -tMX
> would give me the SMTP
> server. In my code I have:
>
> try:
In "smtplib" module, the "sendmail" method of function is to be passed a
host, but it is the Domain name
for the SMTP Server as gotten from the "dig" command? IE: dig -tMX
would give me the SMTP
server. In my code I have:
try:
print "Sending message to host: %s" % mailHost
server=s