diva / diva-distribution

OpenSim + addons. This is the content that gets distributed in the d2 project.
52 stars 36 forks source link

wifi email issue #4

Closed birkenkrahe closed 11 years ago

birkenkrahe commented 14 years ago

i'm almost reluctant to ask this simple question here, but...well. in the WIFI.txt file, you explain that" Wifi sends mail via Gmail's SMTP secure server." - i run a ubuntu 10.04 server from home on a pc that sits on a lan. all is good with OpenSim including access from the internet. but i don't know what is the minimal setup to get Wifi to send email (apart from the certificate imports which i did).

thanks very much! great distro! love it! /marcus

diva commented 14 years ago

See http://wiki.github.com/diva/d2/wifi If you want to use gmail, you just need to get an account there for this purpose. Then provide the user name and password in the obvious config vars -- in MyWorld.ini

birkenkrahe commented 14 years ago

thanks for your quick response! i have a gmail account ... and the data are correct but my server has no mail server setup so how can it send email? that was my question: do i need citadel or postfix or something like it?

diva commented 14 years ago

no. Wifi talks to gmail directly. Why? Is email not being sent? Or is this just for your understanding?

birkenkrahe commented 14 years ago

no email was sent as far as i'm aware but i will now try this again to be sure...will come back then. pls leave thread open. cheers!

diva commented 14 years ago

which mono version do you have?

birkenkrahe commented 14 years ago

mono 2.4.4

diva commented 14 years ago

I have one of my systems on 2.4.3 and it sends email. 2.4.2.x doesn't. Make sure the certificates were correctly installed. But yes, mileage with sending mail over mono may vary. The only solution I have for this is to use an SMTP server that accepts connections on port 25.

Let me know what else you find.

birkenkrahe commented 14 years ago

to be precise, i use

linux-server$ mono --version Mono JIT compiler version 2.4.4 (Debian 2.4.4~svn151842-1ubuntu4) Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com TLS: __thread GC: Included Boehm (with typed GC) SIGSEGV: altstack Notifications: epoll Architecture: amd64 Disabled: none

as for the issue: i don't get email. i don't have an SMTP either. the certificate commands (acc. to your WIFI.txt guide) went through OK. creation of avatar / approval all worked fine. since i didn't get an email i simply used your brilliant Wifi interface...i'm only using this for friends, family and collaborators so i won't get overrun i am sure with requests... cheers

rob-lindman commented 9 years ago

Diva, thanks for your efforts. I am using the most recent distribution r25084 and have completed the setup. I provided gmail credentials. When sending mail, I receive a nice big yellow exception. 'Exception on sending mail to myexample@validdomain.com', 'An invalid character was found in the mail header '@'. Any idea on what to do here?