LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-03-2009, 06:22 PM   #1
RedScare
LQ Newbie
 
Registered: Feb 2009
Posts: 25

Rep: Reputation: 15
Cygwin XEmacs not sending Mail from VM


I installed Cygwin in Windows Vista with the gnutls package and XEmacs, along with the Sumo package tarball (also from cygwin sources). I cannot send mail from either vm or the default mail mode in XEmacs. Relevant portion of my .vm file:
Code:
(setq starttls-use-gnutls t)

(setq send-mail-function 'smtpmail-send-it
      message-send-mail-function 'smtpmail-send-it
      smtpmail-starttls-credentials
      '(("smtp.gmail.com" 587 nil nil))
      smtpmail-auth-credentials
      (expand-file-name "~/.authinfo")
      smtpmail-default-smtp-server "smtp.gmail.com"
      smtpmail-smtp-server "smtp.gmail.com"
      smtpmail-smtp-service 587
      smtpmail-debug-info t)
(require 'smtpmail)
I've also added this to my site-start.el (in the cygwin directories, I placed this file in /usr/share/xemacs/xemacs-packages/lisp):
Code:
;; Extracted from byte-run.el in GNU Emacs.
(defun with-no-warnings (&rest body)
  "Like `progn', but prevents compiler warnings in the body."
  ;; The implementation for the interpreter is basically trivial.
  (car (last body)))
When I send mail my trace from emacs says:
Code:
220 mx.google.com ESMTP c1sm252775ana.20

EHLO Redscare-laptop

250-mx.google.com at your service, [84.23.49.89]

250-SIZE 35651584

250-8BITMIME

250-STARTTLS

250 ENHANCEDSTATUSCODES

MAIL FROM:<redscare@gmail.com> SIZE=367

530 5.7.0 Must issue a STARTTLS command first. c1sm252775ana.20

QUIT

221 2.0.0 closing connection c1sm252775ana.20


Process SMTP exited abnormally with code 256
Thank you in advance.
 
Old 03-03-2009, 09:09 PM   #2
RedScare
LQ Newbie
 
Registered: Feb 2009
Posts: 25

Original Poster
Rep: Reputation: 15
Well it randomly decided to work. Someone please close this thread.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending root mail to an external mail account aquaboot Debian 13 01-09-2009 07:23 PM
Mailserver sending but not sending mail from outside. simango Linux - Newbie 1 10-28-2008 08:51 AM
Linux noob: configuring indentation in Xemacs (using cygwin) renwoshin Linux - General 3 04-11-2006 10:49 PM
Postfix mail transfer agent not sending mail locally or to other servers sketelsen Linux - Software 3 02-09-2006 11:16 AM
Cron mail sending using outside SMTP mail server Utah Linux - Software 6 08-24-2005 07:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration