Ubuntu :: Sending Email / Name 'SMTPException' Is Not Defined Showing Error?
Apr 8, 2011
i am using this python code to send an email
Code:
#!/usr/bin/python
import smtplib
sender = 'from@fromdomain.com'
receivers = ['to@todomain.com']
NameError: name 'SMTPException' is not defined
apparently there is something wrong with /usr/lib/python2.6/smtplib.py but i cant make it out
View 2 Replies
ADVERTISEMENT
Aug 7, 2011
Having one issue with evolution not showing html websites showing up in email like verizon sending a promo. I have gone to edit, preferences, mail preferences, html messages and have always load images from the internet chosen. I have also added sender to contacts. Even if I right click message and tell it to dload images it doesn't.
View 1 Replies
View Related
Feb 23, 2010
I'm attempting to send email with a PHP application I got from a textbook. Do I need to start an email server in order to get the application to work?Using SuSE 11.2
View 5 Replies
View Related
Feb 23, 2010
I'm attempting to send email used a textbook PHP application. The application fails to send an email.Do I need to setup an email server to get the ap to work?Right now, I'm getting email through Kontact via my web host, Yahoo mail and Google mail.
View 2 Replies
View Related
Jun 18, 2010
I have a Linux server running CentOS with 2GB RAM. I am searching in google and also in this forum but could not find any luck yet. I am searching the way that we can receive notification by system to a specified email when the memory reached a specified value we defined.
Is there any tool or sort of shell script we set via crontab every minute to check that?
View 2 Replies
View Related
Feb 19, 2010
Basically, I think my Internet crashed while sending an email via Evolution and now whenever I open Evolution, or try and receive any new email it just sits there sending this email - it reaches 100% so I can only assume it has actually sent the email.
There's a button to "Cancel the current mail operation" though it doesn't appear to be doing anything; the email is still being "sent" each time.
This would be pretty tedious for the guy I sent the email to.
Has anyone had similar issues and knows of a fix?
View 2 Replies
View Related
Jan 21, 2011
How can I send an email from localhost via the terminal? I don't need pop just smtp. I believe this can be done with postfix which I have just installed but what is the command to input via the terminal, on my centos box I use the following to send the contents of some files which works just fine but what about sending through postfix on ubuntu?
Code:
sudo tail -50 /home/user/.bash_history | mail -s "bash history" email@mail.com
View 3 Replies
View Related
Jan 21, 2011
I have designed and one form and php code to send mail. I am developing this in my localhost, So now i want to send email from my localhost to test my programming. I googled and i find something like editing "php.ini" file. But it didnt work for me.
View 9 Replies
View Related
Jul 23, 2010
Had anyone tried downloading a free SMTP server from the web and use it to send emails in nagios, when the services are down, an email notification will be sent.Right now i need a smtp server in order for me to send email notifications, are there any recommended ones?
View 7 Replies
View Related
Jul 11, 2011
I need to send a fax to my doctor but I don't have a fax machine.
Is there a way to accomplish this using Slackware 13.37?
View 7 Replies
View Related
Apr 14, 2010
I just setup a mail server on my web server and I cannot for the life of me figure out how to send emails to external (as in outside my LAN) emails or receive from external emails. I'm using Postfix with Dovecot and Squirrelmail. I get this delivery report in Squirrelmail when trying to send an email to my hotmail address.
Final-Recipient: rfc822; example@hotmail.com
Action: failed
Status: 5.0.0
Remote-MTA: dns; mx3.hotmail.com
Diagnostic-Code: smtp; 550 DY-001 Mail rejected by Windows Live Hotmail for policy reasons. We generally do not accept email from dynamic IP's as they are not typically used to deliver unauthenticated SMTP e-mail to an Internet mail server. [URL] maintains lists of dynamic and residential IP addresses. If you are not an email/network admin please contact your E-mail/Internet Service Provider for help. Email/network admins, please visit [URL] for email delivery information and support.
View 3 Replies
View Related
May 8, 2010
I'm trying to send an email using mailx, in a bash script, but I can't get it to work. In the terminal I can, and this is how I do it:
Code:
$ mailx johndoe@gmail.com
Message^D
Within seconds of doing this, I get sent an email. The problem is with the bash script I'm trying to make. Among other things, I tried this:
Code:
#!/bin/bash mailx johndoe@gmail.com < "Message" I honestly don't know what I'm supposed to do, and I've Googled a bunch of things too, and didn't have too much luck. Is there anyone who could help me out?
Edit: Figured it out. This is what I did, and it works for me:
Code:
#!/bin/bash
echo "Message" | mail -s "Subject" "johndoe@gmail.com"
View 8 Replies
View Related
Apr 24, 2010
How is it possible to send email using the "mail" program? I tried:
echo "testing" | mail -s "test" myaddress@gmail.com
But nothing happened. I made sure that the sendmail daemon was running before I tried. Is there anything else that I have to set up first?
View 5 Replies
View Related
Dec 17, 2010
I've been trying to get PHP to send an email using PEAR's mime mail and have been unable to get it working.
View 3 Replies
View Related
Feb 13, 2011
Sent an email by using telnet on port 25 from the terminal. Telnet states my message was sent but I never got it. Is it on the hard disk somewhere. Is there a log file? Where did my email go? Did it go into the ehter? I opened port 25 on my firewall through gnome by selecting 25/smpt checkbox as a trusted service.
View 8 Replies
View Related
May 21, 2011
We use mutt to send out emails.mutt -s "Test" -e "Content-Type: text/html" test@example.com < message.htmlWe send out our email updates in HTML format. We would like to send emails as multi-part containing both a text version and an html version. How do we create such a multipart message in Linux when the email subject, and HTML and text versions of the email body are given?Can we use mutt to send the multipart email created in step 1, from the linux prompt?
View 1 Replies
View Related
Feb 10, 2011
here is a fragment of a bash that i have to send an email when a back Up is made. basically a usr runs the sh - it asks for the job num and I read that from standard in . I do a tar of the drv to tape and I wish to send an email that job such and such has happened. My problem is : the subject of the email. I can set it - but if i try to use a var ( as in the $jobNum ) that Does work in the mail body - the subject comes out blank. I have also tried to buld a text file and shove that in the SUBJECT. my Q is how can I use a var in the subject.
# email subject
### so I have tried bulding and reading a tmp file -no works
EMAILSUBJECT="/tmp/emailsubject.txt"
echo "backup job" $jobNum >$EMAILSUBJECT
[code]....
View 4 Replies
View Related
May 3, 2011
I'm using Linux 11.04 and just installed the most recent version of Postfix. I'm trying to send a simple email (through a relay) but when I run the command
sendmail davea@mydomain.com FROM: fromemail@gmail.com SUBJECT: hello world this is a test email .
It just hangs there. There is nothing in /var/log/mail.log or in any of its accompanying files.
View 4 Replies
View Related
Jan 19, 2010
How to set outgoing mail limit? And what is the default value?
View 2 Replies
View Related
Dec 26, 2010
I cannot send an email link in Namoroka. I go to file-send link and nothing happens. I tried to find the problem by about:config in Namoroka. I just found /usr/bin/mozilla-thunderbird. With my limited knowledge I do not know what else to look for.
View 14 Replies
View Related
Sep 14, 2010
I have sendmail setup and it works fine sending emails to outside email addresses. When I try and send email to our internal groupwise server the mail never gets there and I get an error message in the log user unknown.
View 1 Replies
View Related
Nov 23, 2009
i have a problem regarding our email server. all the users can send email but they cant received mail. .when hitting send receive on outlook there were no error found. .i have already reboot the server and restarted the sendmail services but still same problem.
View 1 Replies
View Related
Mar 8, 2010
How to configure my home linux server, as an email server, and be able to send email to hotmail, please?. I have done this before, but I never managed to do it so hotmail accept emails coming from my linux server.
View 5 Replies
View Related
Mar 23, 2011
So I have Postfix working great and I've always used webmail if I needed to send email from PC's outside of $mynetworks. So fast forward to today where I got my 1st Android powered mobile phone and I can configure the Android mail client to send/receive IMAP email but my question is do I need to become an open relay to allow my random wireless providers dynamic range of IP's to send mail via Postfix? Seems extremely vulnerable and scary to think I would have to allow my providers IP range to relay mail via my MTA. I started reading a bit and I think I need SASL authentication and since both Postfix 2.8.1 & Dovecot 2.0.11 are both configured / using TLS, is there anything else I would need or you recommend for sending email from my Android powered mobile?
View 2 Replies
View Related
Sep 10, 2010
I can send mail through telnet and the recipient receives the email, but I cant send it through PHP.
View 6 Replies
View Related
Mar 30, 2010
I use sendmail using my server. I hosted my site I just bought a domain name. Everytime I send mail I saw in my log files localhost.localdomain. How can I change this hostname in sending my mail.
here's the log:
From MAILER-DAEMON@localhost.localdomain Fri May 8 16:30:23 2009
Return-Path: <MAILER-DAEMON@localhost.localdomain>
Received: from localhost (localhost)
by localhost.localdomain (8.13.1/8.13.1) id n488UNlD006632;
[code]....
View 3 Replies
View Related
Jul 23, 2009
I have postfix sort of working correctly. postfix can send email to the internet but it doesn't want to send email to my local exchange server. What I need is for postfix to send emails directed to @xyz.com to my exchange server instead of itself.
My setup
mail.xyz.com - exchange 2003 server
www.xyz.com - centos 5.3 server with postfix
www.xyz.com can send emails to my hotmail.com account so that part works correctly. www.xyz.com can't send email to username@xyz.com. postfix seems to be delivering the email to itself and not the exchange server.
How can I tell postfix to send the @xyz.com emails to my exchange server?
Here is a sample of my /var/log/maillog
Jul 22 15:43:43 list postfix/smtpd[9802]: D63168604A3: client=localhost.localdomain[127.0.0.1]
Jul 22 15:43:53 list postfix/cleanup[9805]: D63168604A3: message-id=<20090722204343.D63168604A3@www.xyz.com>
[Code].....
View 3 Replies
View Related
Jun 17, 2010
i am using centos 5.4, running squid for proxy, i want to block email sending and receiving of proxy users to secure my data. how is it possible that the proxy user can only brows websites but he can not receive or open and send or save as draft to mail box.
View 1 Replies
View Related
Jun 29, 2011
Our mailing systems was working in web mail and we had a tool wherein if we apply leave mails where sent to web mail. Now we have moved to exchange server and we want the mails to be sent to exchange server. The Leave Management systems is developed in PHP with Mysql the platform used is linux.
View 5 Replies
View Related
May 5, 2010
Nagios has been up and running for quite sometime now and no issues till this month. For some reason, Nagios kept failing to send notifications out to our department. Out of curiosity I've sent the email out manually and tailed the mail.log then found out that every email being sent is getting a "Connection Refused." Can this be a permission issue? If so where and why all of the sudden it just stopped working as none has changed in the OS (Ubuntu Core).
View 7 Replies
View Related