When user wants to reply on a email that he has received, I want to customize the reply To field in Hybris so that It can be another email instead of the sender's email.
Could any one suggest how it can be achieved?
Just have a look in your local.properties. There I found the following property:
# Email address used for replying to emails (mandatory)
mail.replyto=dev#hybris.de
Overwrite
de.hybris.platform.acceleratorservices.email.impl.DefaultEmailGenerationService#generate
and create a new method like de.hybris.platform.acceleratorservices.email.impl.DefaultEmailGenerationService#createEmailMessage
that accepts a replyTo address as parameter. Then call your createEmailMessage method instead the old one.
Related
I created a saved search that will search the sales order of every each customer and email the shipment status to tracking email created in SO field.
But it can be only 1 email I input to the field.
How can I send the email to multiple tracking emails .
Thank you in advance.
If you are using a standard Saved Search that sends an email, you can edit this on the search itself. If they are static email addresses of a contact or a user in NetSuite (Specific Recipients), you can add them this way:
If you need to derive the users from the results, you can add them this way:
One no-code way would be to replace the transaction's email address with an alias that forwards to some list of email addresses. A bit hacky in that you have to maintain the forwarding addresses independently of the customer (unless you code that)
The methods in the answer by #GimmeDatPP should work if you have contacts. You'd have to supress the normal send email flag on the item fulfillments.
finally this can be done by scripting the process and pulling the email addresses from a custom list on the customer or transaction.
I need a information about PHPMailer about replying my own mails.
I need send a empty mail(subject, body), and when the first mail sent second mail need sending with replying first mail.
That's possible ?
I tried but never can repyling my own mails.
Yes, but PHPMailer won't do this for you. You will need to do it by getting and setting appropriate headers, in particular the Message-ID header that identifies each message, and the In-Reply-To and References headers which are used to track whether something is a reply. Probably the best way to see these working is to simulate it using your regular email client - Outlook, Gmail, Apple Mail – all of which will set those headers correctly.
I've been working on an integration that sends an envelope to 2 signers. I am trying to test and program for the case of 1 of the signers having a bad email address. I would need to:
Be notified of this (webhook?)
Update the email address for the signer
Update the email address in the custom fields as that's printed on the agreement
Resend the envelope
When I enable the delivery failure notification in Connect (this is set up at the account level, for now), I don't see where the failure is noted in the webhook response or for which signer the error is happening.
I've found multiple links via Google talking about "correct and resend" but I haven't been able to get anything definitive in terms of what steps need to be taken or a (PHP) code example. I've also found "resend" in the API reference but still no code examples.
I also haven't seen any code examples (PHP) of how I would update a signer's email address and how that would work via the API.
It'd also be good to know how to update custom field data for both signers so the email address in the contract is updated (it's listed separately as part of the custom form data).
And finally, how would I resend the envelope?
Thank you for your thoughts.
Per DocuSign support (customersupport#docusign.com):
Be notified of this (webhook?)
I have updated your account settings and now you should be able to see AutoResponded in your webhook messages when email invalid or unreachable.
(my comments: so it sounds like you have to ask to be able to see this stuff, it's not part of their standard webhook responses)
Update the email address for the signer
I also haven't seen any code examples of how I would update a signer and how that would work.
Unfortunately we don't have an example for recipient update but the logic is to get list of all recipients, pick the one need to be updated, and update.
You can use below to retrieve all recipients per envelope
https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/enveloperecipients/list/
GET /restapi/v2.1/accounts/accountId/envelopes/envelopeId/recipients
Extract the one you need to update edit email and update using the below
https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/enveloperecipients/update/
PUT /restapi/v2.1/accounts/accountId/envelopes/envelopeId/recipients
You can also see example code in C# how to do this in this thread https://github.com/docusign/docusign-csharp-client/issues/307
Update the email address in the custom fields as that's printed on the agreement
There is bug case created ( above link ) regarding this. At the moment you can not update signer custom fields case EC-2944.
Resend the envelope
You can resend the envelope during recipient update
https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/enveloperecipients/update/
PUT /restapi/v2.1/accounts/accountId/envelopes/envelopeId/recipients
My commentary:
Since custom fields can't be updated, this whole use-case goes out the window. We can't have contracts with incorrect data on it, so my client will have to do these corrections by hand. Kind of a bummer.
My environment is configured for Directory Assistance so users from our LDAP can also authenticate to our Domino applications.
The issue I have is that the the current user that is returned has this format:
uid=abc#mail.com/ou=customers/DC=ACME/DC=COM so when
emailDocument.send()
is triggered; the From feld gets populated with this value and the SMTP communication fails when doing the domain lookup with this message = Data format error
I'm using emailBean from Tony McGuckin for sending emails.
Is there an alternative way to change the Sender name like noreply#mycompany.com?
I'm trying to avoid to create the message directly on mail.box.
Depends on what your use case is:
You want to have "proper" eMails individually per user
The application sends out eMails with a single sender name
In the first case an address book entry for your users is needed where you can map the external name to a proper Full name and eMail.
In the later case: use creation in the mail.box. It's your best option
I'm a big fan of being one click (bookmarks bar link) away from composing a Gmail email. Now that things have moved over to Inbox by Gmail, the link no longer works.
I used to use this url https://mail.google.com/mail/u/0/#compose and I actually just figured out that I can hack the old link to still work with this link https://mail.google.com/mail/?ibxr=0#compose
Anyone know what the new proper link is for Inbox?
You can do it with "https://inbox.google.com/?mailto=mailto%3A" or with an address at the end if you use something like Alfred to dynamically fill a value "https://inbox.google.com/?mailto=mailto%3Aexample#website.com"
The Inbox compose URL allows to specify the to, cc, bcc, subject and body query parameters. None of them is mandatory. An invalid field will be ignored, but no error will be raised.
See the url below for a complete example:
https://inbox.google.com/?to={to}&cc={cc}&bcc={bcc}&subject={subject}&body={body}
PS: On a side note, this could be useful to configure Inbox as the default email client for Safari on macOS. See this response for more details.