forked from STI/Astroport.ONE
ipfs pin rm ${EMAILZ}
This commit is contained in:
parent
1ae58895f3
commit
d6d4e55689
@ -72,6 +72,7 @@ rm -f ~/.zen/tmp/email.txt
|
|||||||
|
|
||||||
EMAILZ=$(ipfs add -q ~/.zen/tmp/email.txt)
|
EMAILZ=$(ipfs add -q ~/.zen/tmp/email.txt)
|
||||||
echo "/ipfs/${EMAILZ}"
|
echo "/ipfs/${EMAILZ}"
|
||||||
|
ipfs pin rm ${EMAILZ}
|
||||||
|
|
||||||
export TEXTPART="$(myIpfsGw)/ipfs/${EMAILZ}"
|
export TEXTPART="$(myIpfsGw)/ipfs/${EMAILZ}"
|
||||||
|
|
||||||
@ -114,6 +115,7 @@ curl -s \
|
|||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
-d "$json_payload"
|
-d "$json_payload"
|
||||||
|
|
||||||
|
|
||||||
# This call sends an email to one recipient.
|
# This call sends an email to one recipient.
|
||||||
#~ TEXTPART=$(cat ~/.zen/tmp/email.txt | sed ':a;N;$!ba;s/\n/\\n/g' | tr '"' '\\\"')
|
#~ TEXTPART=$(cat ~/.zen/tmp/email.txt | sed ':a;N;$!ba;s/\n/\\n/g' | tr '"' '\\\"')
|
||||||
#~ HTMLPART=$(cat ~/.zen/tmp/email.txt | sed ':a;N;$!ba;s/\n/<br>/g' | tr '"' '\\\"')
|
#~ HTMLPART=$(cat ~/.zen/tmp/email.txt | sed ':a;N;$!ba;s/\n/<br>/g' | tr '"' '\\\"')
|
||||||
|
Loading…
Reference in New Issue
Block a user