textcoin:userEmailAddress
for sending to email, ortextcoin:someUniqueIdentifierOtherThanEmail
for sending via any other text based mediatextcoin:[email protected]
or textcoin:ASDFGHJKL
.opts
object has an optional field email_subject
which is the subject of the email sent to the user. To send emails, you need to set the following fields in your configuration files:from_email
: the address your emails are sent from. Must be on your domain, otherwise the emails are likely to be non-delivered or labeled as spamsmtpTransport
: type of SMTP transport used to deliver emails:local
: (this is the default) use /usr/sbin/sendmail
direct
: connect directly to the recipient's MX server, this minimizes the number of intermediaries who are able to see and potentially steal the textcoin, but this method is not reliable as there are no retriesrelay
: send through a relay server. In this case, you need to also set its host name in smtpRelay
. If it requires authentication, you need to also set smtpUser
and smtpPassword
.issueChangeAddressAndSendMultiPayment
and all similar functions has an optional 3rd parameter assocMnemonics
which is an associative array of all generated textcoins (BIP39 mnemonics) indexed by the address
from the input parameters.textcoin:
prefix, like in input parameters.assocMnemonics
to find mnemonics generated for each output address (in the example above, you would find it by the key textcoin:ASDFGHJKL
) and then deliver them yourself.https://obyte.org/#textcoin?
: