Post by MarcoP<<SNIP>> AFaIK, not with the use of the Send Distribution (SNDDST),
for which I seem to recall there exist other requirements to enable
sending /mail/ out of the system, beyond just SMTP? I seem to
recall a new feature since some v7 release, something like Send TCP
Email ¿(SNTTCPEMM)? [darned if I can find anything] that might be
available. -- Argh! That would be the Send SMTP Email
(SNDSMTPEMM), that might have fewer dependencies, such that just
the SMTP server being started may be sufficient. <<SNIP>>
Ho visto il comando SNDTCPEMM ed è interessante, ho fatto anche una
prova allegando un file, ma senza risultati, ma penso che sia dovuto
a qualche parametro non corretto...
I have only ever read about the introduction of the SNDSMTPEMM
command; new, at that time. And the only system on which, both, that I
have access and that command exists, there is no help-text. And the PTF
providing that feature was applied to that system only since around the
beginning of the year. So, I have never used that command to learn
more. Besides, my access is limited, with regard to trace and other
ways to analyze the run-time effects.
I could not find any docs on the command in the IBM i [7.2 nor 7.3]
Knowledge Center [though I expect it exists there], but I did locate,
though I have not read, a different reference [a TechNote document
N1011153 "SNDSMTPEMM Command Instructions"] for that command:
[http://www-01.ibm.com/support/docview.wss?uid=nas8N1011153]
Possibly the message identifier and other details\context of the
failure might be capable of being searched on the web, for assisting
with possible resolution to any difficulties.
The following web search returned a number of links; perhaps more
generally of interest, rather than specifically for diagnosing a
specific difficulty:
[https://www.google.com/search?q=SNDSMTPEMM+send+email]
Post by MarcoPTempo fa ho fatto un programma (di cui ora ho disponibile solo
l'oggetto) per comporre la mail con allegati di qualsiasi tipo da
IFS, sfruttando l'API qtmmmsendmail (se non ricordo male) per
spedirla. Può essere sufficiente?
As Ugo suggests, the Send MIME Mail (QtmmSendMail) API will require,
minimally, that the Mail Server Framework be\remain active; there is the
Start Mail Server Framework (STRMSF) for that [MSF].
IBM i 7.1->Networking->TCP/IP applications, protocols, and
services->E-mail->Troubleshooting e-mail->Solving problems with the
QtmmSendMail API
[https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_71/rzair/rzairrzairfixapi.htm]
"…
You should check mail server framework jobs in the QSYSWRK system to
determine a possible cause of the error in the QtmmSendMail API. …"
Post by MarcoP(I'm sorry if I wrote in Italian, but I can explain (and write, of
course) better than in English :-))
Established long ago: I should not, and will not, try to write
Italian [esp. not with the help of online translation tools]. And
similarly, nobody need reply in English to my posts; I offer what I can,
in English :-) My Italian is surely worse than the English of most
everyone who participates on this newsgroup.
I will simply do my best to interpret Opening Posts and replies
[selectively, per subject matter], for which my best chance of
understanding is with scripted [code] examples and structured outputs,
because such consistently structured /language/ [as technical] does not
suffer the vagaries of typical [social] vernaculars; e.g. a spooled
joblog is much clearer [to a reader irrespective the languages of both
the reader and the joblog text] than someone merely writing that they
received an error message [leaving the message identifier unstated] that
says "xyz". Notably for me, because I would find little reason to
translate "xyz", possibly only to find that I have no experience with
the topic, or that, lacking necessary context, I can not infer from\to
what [feature] the message was issued.
--
Regards, Chuck