SMTP – SEND PDF USING SNDDST TO FAX SERVER

30 pts.
Tags:
AS/400
AS/400 PDF
Fax servers
SMTP
SNDDST
I would like to know if it is possible to send a PDF document  using fax # and fax server domaine name instead of regular e-mail address. In the affirmative, could you provide me the e-mail address syntax ?



Software/Hardware used:
as/400 V5R4M0

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

You can find a nice and easy <a href=”http://www.interfax.net/en/dev/smtp”>fax SMTP</a> API on the Interfax website. This API basically sends faxes automatically as email messages.

In these pages, you’ll find some basic code snippets (in the usage examples) that send a fax as an attachment, and also other options that allow more advanced definition of message sending.

HTH,

L

Discuss This Question: 5  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    ...could you provide me the e-mail address syntax ? The basic e-mail address syntax is the user ID followed by the commercial-at symbol followed by the e-mail server domain name. But that's almost certainly not what you want to know. Unfortunately, I have no idea what you want to know. And in any case, you almost certainly won't be able to use SNDDST for this in any reliable way. You probably need a competent e-mail client unless you can guarantee that your PDF streamfiles won't contain anything but 7-bit ASCII characters. Tom
    125,585 pointsBadges:
    report
  • trekgirl850
    Here is the syntax: TOINTNET=/fax=999999999999/<domain name@xxxxxxxx.com> and this is the error message i get: Message ID . . . . . . : CPI9045 Severity . . . . . . . : 00 Message type . . . . . : Information Message . . . . : Distribution to user identifier *UNKNOWN *ANYMAIL failed. Cause . . . . . : The distribution was sent by user identifier(ID) SIMARDC TARKDEV to user ID *UNKNOWN *ANYMAIL at 09/24/10 16:04:36. The distribution
    30 pointsBadges:
    report
  • TomLiotta
    The "syntax" appears to be for an embedded e-mail address. I'd guess that you have a fax product installed on your AS/400 and you intend that the product use your SNA e-mail facility to route the fax to your SMTP server. Have you verified that the Mail Server Framework is configured to route through SMTP? Can you use SNDDST to send basic notes to outside e-mail addresses? I keep a few external addresses (e.g., at MAIL.COM, at AOL or even a HotMail address) available for testing. I send to a couple different ones to verify that my system can send successfully. Simple SNDDST e-mails from a command line should first work for any external e-mail addresses before faxes will work. Has that been verified? What external e-mail servers were tested? Tom
    125,585 pointsBadges:
    report
  • TomLiotta
    No, that can't be right. If the fax service was one of the AS/400 fax products, you wouldn't need SNDDST. The fax product is on some remote system, so we're back to not using SNDDST for the transfer of the .PDF to the remote system. I have to suggest that you look into downloading/installing something more appropriate such as iSeries MIME & Mail and avoid SNDDST for any non-text files. You could also base a solution around your own programming over the QtmmSendMail API which is the intended facility for SMTP e-mail, but you would possibly still want to use some of the MMAIL functions rather than write them yourself. Preparing attachments isn't an easy task without practice. (Simply configuring SNDDST to interface with SMTP can be hard enough without some experience.) Tom
    125,585 pointsBadges:
    report
  • trekgirl850
    Hi, You can find a nice and easy fax SMTP API on the Interfax website. This API basically sends faxes automatically as email messages. In these pages, you'll find some basic code snippets (in the usage examples) that send a fax as an attachment, and also other options that allow more advanced definition of message sending. HTH, L
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following