SMTP and SNDDST

35 pts.
Tags:
SMTP
SNDDST
I send a mail with the SNDDST command. When it is received by the recipient on lets say Outlook I see the following: 1.  The sender's name from the 'SMTP user id' in the 'Change name for SMTP' display and it shows as MyName@Domain.COM 2.  The subject, etc When I send a mail from my PC I see the my name such as 'Joe Soap'. Is there any way I can get the same when using the SNDDST command or should this be done by the mail server?

Software/Hardware used:
IBM i
ASKED: August 15, 2013  4:28 PM
UPDATED: August 17, 2013  1:03 AM

Answer Wiki

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

Thanks for help. I will get started on the API.

Discuss This Question: 3  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
  • as400dev
    The senders details are retrieved from the User profile details, its nothing to do on the Mail server details.
    475 pointsBadges:
    report
  • TomLiotta

    The first point to make is that SNDDST is not fully appropriate for SMTP e-mail. It can be used for simple e-mails, but it shouldn't be used for ongoing work. Use an actual SMTP function instead. Various ones are available for free from the Internet, and the SMTP API is also a possibility.

    The second point is that I haven't seen anyone actually using the old 'Change name for SMTP' function for maybe 20 years. I very much doubt if it has any useful characteristics such as you're asking about. It's a near guarantee that nothing has changed with it since Version 3 of OS/400. You'd be far better off not using it at all and converting any entries into system directory entries. I don't know of any useful documentation for it after Version 3 (which is when that conversion should have been done).

    But even then, the system directory itself has been close to obsolete for this since Version 5 of OS/400 arrived. That's mostly because the SMTP options for SNDDST were only intended as a temporary way to make things work. The Send MIME Mail (QtmmSendMail) API was made available way back in V4R1. By Version 5, everything should have been converted.

    Tom

    125,585 pointsBadges:
    report
  • TomLiotta

    You might be better off looking at MMail or other possibilities first. Even if it's not used in the long term, it's probably worth what it can teach.

    Tom

    125,585 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