more G-Labs products

Author Topic: Sending email with HG 5.25 ???  (Read 2864 times)

February 21, 2017, 06:06:07 PM
Reply #15

Bounz

  • ***
  • Information
  • Full Member
  • Posts: 94
Glad to hear that everything work now!

March 06, 2017, 10:07:58 AM
Reply #16

pinie_pinie

  • ***
  • Information
  • Full Member
  • Posts: 55
Hello,

I need help.
My problem: A new installation on raspberry (HG 1.1.525 + mono). It works but the send of email do not work.
Email provider is @kabelmail.de. See the trace-log.
For the test i´m using the little program "Send e-mail".
Many thanks for your help!!!

Thoralf

March 06, 2017, 05:14:16 PM
Reply #17

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
I'd verify your certificates are up to date (process described above).  IMO, the easiest way to determine if the issue is the RPi or HG is to manually send a message via sending the commands yourself from a terminal window.  If you can get it to work manually from the RPi where HG is installed, then the issue is HG.  If you can't get it to work manually, that's the first thing to figure out.  HG will never work if you can't send a message manually.

March 06, 2017, 08:43:17 PM
Reply #18

Bounz

  • ***
  • Information
  • Full Member
  • Posts: 94
Thoralf,

Do you have any logs in Error.log at 2017-03-06 09:53:42.2835?

March 07, 2017, 03:19:27 PM
Reply #19

pinie_pinie

  • ***
  • Information
  • Full Member
  • Posts: 55
Hello,
Rasbian jessie + HG 5.25 + mono newly installed.
"Apt-get update + upgrade"
"E-mail account"
"Send a email.hgx"

No emails will be sent.
In the appendix the "Error.log" + "Trace.log"

On the surface of the Rasperry (Claws Mail) the email works.
In HG unfortunately not.

I'm desperate.

Many Thanks.

Thoralf
« Last Edit: March 07, 2017, 03:21:53 PM by pinie_pinie »

March 07, 2017, 03:23:20 PM
Reply #20

Bounz

  • ***
  • Information
  • Full Member
  • Posts: 94
And what about ca-certificates-mono package?
Take a look at official Mono documentation: http://www.mono-project.com/docs/getting-started/install/linux/
You need to execute these 3 steps before installing ca-certificates-mono:
Code: [Select]
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update

March 07, 2017, 04:25:21 PM
Reply #21

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
As Bounz suggested, you need the ca-certificates-mono package to send email.  If you don't have that, you must use server without security certificates.  That basically means setting up your own server locally and having the certificates dealt with there.  I have a guide that I put together when I set up my RPi with Wheezy but it's outdated.  I have constructed a new guide for Jessie but forgot to upload it.  I'll add it to the following thread hopefully tonight.

http://www.homegenie.it/forum/index.php?topic=2152

March 07, 2017, 09:02:32 PM
Reply #22

pinie_pinie

  • ***
  • Information
  • Full Member
  • Posts: 55
Hello,
I have the certificate "ca-certificates-mono package" which describes Bounts already installed.
This does not work email shipping!
Do I need another certificate?

Many thanks for your help!

Thoralf

March 07, 2017, 09:31:01 PM
Reply #23

Jens

  • *****
  • Information
  • Global Moderator
  • Posts: 211
Did you try what helped me to solve the problem, certmgr and cert-sync?

http://www.homegenie.it/forum/index.php?topic=1957.msg11800#msg11800

Bests
Jens

March 07, 2017, 10:16:30 PM
Reply #24

pinie_pinie

  • ***
  • Information
  • Full Member
  • Posts: 55
Hello,

Has unfortunately not worked.
Mails are still not sent.
Too bad.

Thoralf

March 07, 2017, 10:37:03 PM
Reply #25

Jens

  • *****
  • Information
  • Global Moderator
  • Posts: 211
Can you perform a wireshark trace, that might give a clue

Bests
Jens

March 07, 2017, 11:07:21 PM
Reply #26

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
In case you wanted to try the manual approach, here's a link:

http://www.yuki-onna.co.uk/email/smtp.html

It's actually really easy and will quickly tell you whether the server is happy with your credentials or not.  I'm sure the other approaches work too, this is just what I did when I had issues.

March 08, 2017, 05:13:29 PM
Reply #27

pinie_pinie

  • ***
  • Information
  • Full Member
  • Posts: 55
The data in the email account are correct. I have already checked this.
Nevertheless, the sending of emails works.
I absolutely lack a good idea.

Is it really so hard to send an email under HG?

Many Thanks!

Thoralf

March 08, 2017, 08:32:44 PM
Reply #28

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
My configuration appears to be the same as yours.  I'm running an RPi with Jessie and HG 525.  I performed the exact steps documented in the text file and email works.  I did restore my previous setup, so it's possible that a setting in HG is different between default and my install.  But, I don't have any thing fancy.  I simply enabled the email app and entered server and account details.

March 10, 2017, 06:23:56 PM
Reply #29

pinie_pinie

  • ***
  • Information
  • Full Member
  • Posts: 55
Hello,

HG after the instructions reconfigured. Unfortunately without success.
Who can tell me in which file the data from the "email account" are written?
I guess the problem.
Many Thanks.

Thoralf