# 【質問内容】
adaloにてユーザーの新規登録時に以前はzapier を用いてワンタイムパスワードを......

**URL:** <https://www.nocode-faq.com/t/topic/946>\
**Category:** Adalo\
**Tags:** api関連\
**Created:** [2021 年 2 月 2 日午前 11:30 UTC](https://www.nocode-faq.com/t/topic/946 "2021-02-02T11:30:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Question\_user](https://avatars.discourse-cdn.com/v4/letter/q/53a042/32.png) [@Question\_user](https://www.nocode-faq.com/u/Question_user)\
**Post date:** [2021 年 2 月 2 日午前 11:30 UTC](https://www.nocode-faq.com/t/topic/946/1 "2021-02-02T11:30:34Z")

</div>

【質問内容】  
adaloにてユーザーの新規登録時に以前はzapier を用いてワンタイムパスワードを付随したメールをユーザーに送信していましたが、zapierよりsendgridの方が一ヶ月に送信できるメール数が多いのでsendgridでユーザーの新規登録時にワンタイムパスワードをメールで送信しようとしています。

そして、画像と参考URL([Adalo Custom Actions Tutorial - SendGrid Email - YouTube](https://www.youtube.com/watch?v=UZEENzF6bHE&feature=emb_title))の通りに設定することはでき、custom action 作成後のAPIテストもsuccessと出て、”確認はメールを送信することができました。”

しかし、実際にadalo上でユーザーが新規登録した際にはメールが送信されません。何が原因でしょうか？添付の画像のようにテストメールはdeliveredとなっているのでテスト自体は成功していると思われますが新規登録の際にはメールが送信すらされません。

【試したこと】  
sendgridのホームページのドキュメント、adalo側のやり方の動画をみてその通りにやったつもりです。またsendgridでのsender登録も済ませました。テストメールは送信できているのに、adalo上では送信できないということはadalo上のcustom アクションの問題でしょうか？

【添付画像】

---

<div class="post-metadata">

**Author:** ![Answer\_user](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@Answer\_user](https://www.nocode-faq.com/u/Answer_user)\
**Post date:** [2021 年 2 月 2 日午前 11:30 UTC](https://www.nocode-faq.com/t/topic/946/2 "2021-02-02T11:30:35Z")

</div>

Sendgridでテキストが複数行  
（muliti）になると送信されない現象があるようです。  
カイトさんのemail bodyを1行に表示してみても送信されませんか？  
Custom action with sendgrid API: how do I parse multiline text?

> **[Custom action with sendgrid API: how do I parse multiline text?](https://forum.adalo.com/t/custom-action-with-sendgrid-api-how-do-i-parse-multiline-text/5697)**
>
> Hi I am trying to use the custom action to send a POST via JSON to the sendgrid API. The issue here is - when I send single-line text, it works fine, but when I send multi-line text, it doesn’t send an email. I basically guess this is because...

## 参考画像

 ![スクリーンショット 2020-11-09 13.12.14のコピー.jpg](https://us1.discourse-cdn.com/flex020/uploads/ncc_forum/original/2X/2/2901dfca3465c520b4b13dbbbdcd021780f57529.jpeg)

 ![スクリーンショット 2020-11-09 13.10.44.png](https://us1.discourse-cdn.com/flex020/uploads/ncc_forum/original/2X/e/e4c94d9f848f3da94abaf03be9180addc769cb9f.png)

## 参考URL

Custom action with sendgrid API: how do I parse multiline text?
