Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Cannot Connect

From: tim:johnsons-web at: 31-Aug-2001 11:59

On Fri, Aug 31, 2001 at 12:28:43PM -0700, Ammon Cooke wrote:
> Hi, > > It logs in as the proper user, the odd part is the little progress meter > down in the left hand window pops up then disappears while REBOL attempts to > continue connecting. After I have used set-net at the command prompt what do > I do?
Hmmm! Why don't you try this script below. Edit the strings following my-email/from, my-email/server, my-email/to try trace if you like. I find that starting with something very basic at first helps...... REBOL[] my-email: [from "[sender--domain--com]" server "smtp.somewhere.net" to "[recipeint--domain--com]" subject "testing simple SMTP"] ;;===================================================================================== ;;sendmail: arg1 is block with 'sender 'server 'to 'subject ;; arg2 is message body ;;===================================================================================== sendmail: func[setup[block!] message[string!]][ ; try using trace ;trace on set-net[setup/from setup/server none none none none] ;trace off send/header to-email setup/to message make system/standard/email[ from: setup/from subject: setup/subject ] ];end func sendmail my-email "Hi, we're just testing here"