-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for mail params with send method #81
Comments
+1 for this enhancement. If someone can provide the write access to this repo or add this support, it will be highly appreciated. |
Hi there! The client, and the What extra parameters do you want to include? I'm wondering how to best offer this and keep the interface simple. Thanks! |
@mcobrien We would like to use local extension, verbs starting with X to pass some information to our downstream MTAs. |
thanks @benimohit. I can't find an RFC for that feature, do you have a link for more details? How is it used? |
It is a private extension. It is short for Conversion Tag, which is a concept of our downstream MTA. |
I wonder if a way to implement this cleanly would be to add overloads of |
@mcobrien I was about to raise a PR but I guess I don't have access : |
Hey @AkshayRajMaurya did you fork the repo first? This guide might be useful. Thanks! |
Hey @mcobrien I have created the pull request. Thanks a lot :) |
@mcobrien please check the PR. Thanks! |
Hi,
the mail method in the SmtpRequests class with signature mail(CharSequence sender, CharSequence... mailParameters) has the capability to accept mailParameters, but the way send and sendInternal methods are written , it restricts the capability to pass mailParameters on users will and bounds it to available Extensions of SMTPUTF8 and 8BITMIME only. We would like to extend the capability to pass additional mail params. Should we contribute a change or can you suggest an alternative way we can do that ? We can use DefaultSmtpRequest(SmtpCommand.MAIL, params) but we want to keep the extended functionalities of sendInternal() method in place when placing the send request along with the additional mailParameters.
Thanks.
The text was updated successfully, but these errors were encountered: