localhost:~alex #python
Python 2.3.3 (#2, Feb 24 2004, 09:29:20)
[GCC 3.3.3 (Debian)] on linux2
Type "help", "copyright" , "credits" or "license" for more information. import smtplib
Segmentation fault (core dumped)
This happens under python 2.2 and 2.3 and 2.4
argh!
everything else seems to be ok, any ideas anyone? I believe this to be the
debian testing version.
Debian is a PITA at times :/ 1 2089
| localhost:~alex #python
| Python 2.3.3 (#2, Feb 24 2004, 09:29:20)
| [GCC 3.3.3 (Debian)] on linux2
| Type "help", "copyright" , "credits" or "license"
| for more information.
|
| >>> import smtplib
|
| Segmentation fault (core dumped)
|
| This happens under python 2.2 and 2.3 and 2.4
| ....
Alex ....
Using Python 2.3.5 here under Debian GNU/Linux Sarge
import smtplib is OK ....
sk@cpq1 : ~/python $ python
Python 2.3.5 (#2, Feb 9 2005, 00:38:15)
[GCC 3.3.5 (Debian 1:3.3.5-8)] on linux2
Type "help", "copyright" , "credits" or "license" for more information. import smtplib
smtplib.__file_ _
'/usr/lib/python2.3/smtplib.pyc'
sk@cpq1 : ~/python $ apt-cache policy python2.3
python2.3:
Installed: 2.3.5-1
Candidate: 2.3.5-1
Version Table:
*** 2.3.5-1 0
500 http://mirrors.kernel.org sarge/main Packages
100 /var/lib/dpkg/status
--
Stanley C. Kitching
Human Being
Phoenix, Arizona This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Bill |
last post by:
I am trying to have the capability to email attachments. Specifically
I want to be able to email a specific attachment that I name that may
be a PDF document, text doc, etc. I already have a working piece of
code that emails jpg attachments but does not work with any other
types of attachments. Could someone tell me how to modify this code to
send other types of attachments like the one's stated above(especially
PDF's)? Also how do I...
|
by: David Hughes |
last post by:
I wonder if anyone can help me resolve this problem. Although my ISP (One
and One) provides the facility to run Python 2.2 CGI programs, their
technical support people don't seem to have any Python expertise.
I am trying to run Gypsymail.py as a CGI program from a web form. It is
nearly all working, except for the part that I have reduced to the
following code:
#!/usr/bin/python
# the line above must contain the path to Python on your...
|
by: Copelandia Cyanescens |
last post by:
Python Python 2.3.4, Windows, "clean" install, using the example code
given in the documentation, I get this...
Traceback (most recent call last):
File "C:\projects\email\email.py", line 24, in ?
server = smtplib.SMTP('mail.xxxxx.xxx')
AttributeError: 'module' object has no attribute 'SMTP'
I beg to differ, it most certainly does. Right? :)
|
by: Tim Williams |
last post by:
I have a working SMTP client that I need to add TLS capability to, I
absolutely need the client to timeout within a specified time, but when I
use the sock.timeout() line it freezes the reading of chars from SSLFakeFile
used during TLS instead of timing out the client connection. I am
working from my own hacked version of smtplib, but can demonstrate the
problem using the standard module (Python 2.3.4). Can anyone suggest a...
|
by: Jon Hewer |
last post by:
hi
having a few problems sending an email with smtplib. i do have an
smtp server running on port 25 of my local machine
here's the relevant code (taken from python docs):
s = smtplib.SMTP('localhost')
s.connect()
s.sendmail(me, to, msg.as_string())
| |
by: Van_Gogh |
last post by:
Hi,
I am learning how to use the smtplib module, but am having some very
early problems, maybe because I don't understand it.
So, am I correct that by following the example in the Python:
>>> import smtplib
>>> server = smtplib.SMTP('localhost')
>>> server.sendmail('soothsayer@example.org', 'jcaesar@example.org',
"""To: jcaesar@example.org
|
by: carlistixx |
last post by:
Hi,
I'm using the roundup issue tracker (http://roundup.sourceforge.net)
which uses smtplib to send mail. It all worked until we moved to a
hosted Exchange MTA. The hosting provider requires the use of TLS. Now
roundup can't send mail.
My version of python is:
Python 2.3.4 (#1, Feb 6 2006, 10:38:46)
on linux2
|
by: zxo102 |
last post by:
Hi,
I am trying to use python module smtplib to send my email out on
window xp (localhost).
import smtplib
server = smtplib.SMTP('localhost')
but I got the error information as follows:
Traceback (most recent call last):
|
by: Hunter |
last post by:
I am writing a script that needs to send some emails. And I've used
smtplib in the past and it is pretty easy. But I thought, gee it
would be easier if I could just call it as a function, passing the
from, to, subject, and message text. So I wrote it up as a function
and it sort of works, but I get a weird error. When it runs it
inserts a "\t" tab character before each item during the send portion
(which I can see when I turn on...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |