Please wait...
×

Error

Posted Fri, 16 Jun 2017 10:26:12 GMT by Christian Tomsu Germany
Hi,

has anyone experience with e-Mail - notification?

I tried to send emails via the google - SMTP server with those parameters:

[b]Server: aspmx.l.google.com
Port: 25
User: username@gmail.com (this is an existing GOOGLE account)
[/b]

This is the result in the MzMail.log - File:

[i]2017.06.16 12:57:49 (Fri)------------Start of Session-----------------
Blat v3.2.1 (build : Nov 22 2015 05:15:31)
32-bit Windows, Full, Unicode
Sending E:\SPEKTER\001_EWS\004_Projekte\903_Bernb_B_Nkrit\006_work_ews\003_model\4_mf\VB_BB_C_D60_T25.log_tmp to anotheruseraccount@gmail.com
Subject: Contents of file: VB_BB_C_D60_T25.log_tmp
Login name is username@gmail.com
Try number 1 of 5.
2017.06.16 12:57:55 (Fri)-------------End of Session------------------[/i]

Bests Christian






Posted Fri, 16 Jun 2017 10:27:19 GMT by Christian Tomsu Germany
... forgot to mention, that no e-Mails has been sent or received.

Any ideas ?

Bests
Christian
Posted Thu, 22 Jun 2017 11:38:48 GMT by Stephan Kistner
Hi C,

Had no luck myself. Would be interested to know if someone has a solution to this.

S
Posted Thu, 22 Jun 2017 12:48:39 GMT by Christian Tomsu Germany
Hi S,

it seems, that a SMTP - Server must be configured, which allow mail sending without authentication.
The MZ mail client doesn't support SMTP - servers that request username and password authentication.

Those are my llatest message in the MZMail.log - file, when I tried to send e-Mails from from my existing GMX - account.

[i]2017.06.22 15:22:05 (Thu)------------Start of Session-----------------
Blat v3.2.1 (build : Nov 22 2015 05:15:31)
32-bit Windows, Full, Unicode
Sending C:\Users\abc\Desktop\temp_Projekte\xxx.log_tmp to [u]existing_email_account_somewhere[/u]
Subject: Contents of file: Extract_Point_Results.log_tmp
Login name is [u]existing_email_account_on_GMX[/u]
Try number 1 of 5.
*** Error ***  The SMTP server does not like the sender name.
*** Error ***  Have you set your mail address correctly?
2017.06.22 15:22:05 (Thu)-------------End of Session------------------[/i]

I defined the e-Mail notification settings to:
Server: mail.gmx.net
Port: 25
User: [u]existing_email_account_on_GMX[/u]

Unfortunately, the manual isn't very helpful in that point.

But - no other idea so far.
It would be nice to have a working example of that.

Bests
Christian
Posted Thu, 22 Jun 2017 14:05:35 GMT by Stephan Kistner
It seems like the best solution at the moment is to add a simple program like "Blat" to your batch script. Blat can be setup with most mailbox types, though I haven't tested it myself.

Something like

start /wait C:\"Program Files (x86)"\DHI\2017\bin\x64\MzLaunch.exe model_A.mfm -x
start C:\"Program Files (x86)"\Blat\blat.exe message.txt -to receive@gmail.com -attach model_A.mfm.log

start /wait C:\"Program Files (x86)"\DHI\2017\bin\x64\MzLaunch.exe model_B.mfm -x
start C:\"Program Files (x86)"\Blat\blat.exe message.txt -to receive@gmail.com -attach model_B.mfm.log

start /wait C:\"Program Files (x86)"\DHI\2017\bin\x64\MzLaunch.exe model_C.mfm -x
start C:\"Program Files (x86)"\Blat\blat.exe message.txt -to receive@gmail.com -attach model_C.mfm.log

etc...

You must be signed in to post in this forum.