Skip to content
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

Not working #4

Open
tarun1982 opened this issue Oct 28, 2022 · 8 comments
Open

Not working #4

tarun1982 opened this issue Oct 28, 2022 · 8 comments

Comments

@tarun1982
Copy link

Hello,

All steps are followed as per https://github.com/devcybiko/ses-catchall/ still emails are not forwarded to the catchall account.

Please help.

@devcybiko
Copy link
Owner

devcybiko commented Oct 28, 2022 via email

@tarun1982
Copy link
Author

defaultEmail and adminEmail are correct.. Checked them multiple times.. Is there any way to check if lambda function call or not when new emails received.

@devcybiko
Copy link
Owner

devcybiko commented Oct 29, 2022 via email

@tarun1982
Copy link
Author

Thank you for your time and reply.

Below error messages logged in CloudWatch #

2022-10-29T06:08:06.417Z 6c81ad1c-fcf9-4255-984b-0fb7f52194a6 ERROR Invoke Error
{
"errorType": "TypeError",
"errorMessage": "Cannot read property 'split' of undefined",
"stack": [
"TypeError: Cannot read property 'split' of undefined",
" at filterContent (/var/task/index.js:30:25)",
" at Runtime.handler (/var/task/index.js:86:26)",
" at Runtime.handleOnceNonStreaming (/var/runtime/Runtime.js:73:25)"
]
}

How this issue can be fixed?

@devcybiko
Copy link
Owner

devcybiko commented Oct 29, 2022 via email

@tarun1982
Copy link
Author

Already replaced the JSON with the contents of test.json from the repo, and below is the output of the test.. and I think no issue with that.

Test Event Name
testing

Response
{
"disposition": "CONTINUE"
}

Function Logs
START RequestId: 5ec75e16-cf31-4aab-9170-2bcd5acc1c7e Version: $LATEST
2022-10-29T07:57:37.867Z 5ec75e16-cf31-4aab-9170-2bcd5acc1c7e INFO {
"mail": {
"headers": [
{
"name": "From",
"value": "admin@.awsapps.com <admin@.awsapps.com>"
}
],
"destination": [
"info@.app"
]
},
"content": "email content"
}
2022-10-29T07:57:37.869Z 5ec75e16-cf31-4aab-9170-2bcd5acc1c7e INFO { originalDestination: 'info@
.app' }
2022-10-29T07:57:37.869Z 5ec75e16-cf31-4aab-9170-2bcd5acc1c7e INFO {
originalLabel: 'admin@.awsapps.com',
originalFrom: 'admin@
.awsapps.com'
}
2022-10-29T07:57:37.869Z 5ec75e16-cf31-4aab-9170-2bcd5acc1c7e INFO Previously forwarded to default info@.app from info@.app by way of: admin@****.awsapps.com
END RequestId: 5ec75e16-cf31-4aab-9170-2bcd5acc1c7e
REPORT RequestId: 5ec75e16-cf31-4aab-9170-2bcd5acc1c7e Duration: 41.80 ms Billed Duration: 42 ms Memory Size: 128 MB Max Memory Used: 74 MB Init Duration: 467.23 ms

Request ID
5ec75e16-cf31-4aab-9170-2bcd5acc1c7e

But Below error messages logged in CloudWatch with real emails. #

2022-10-29T06:08:06.417Z 6c81ad1c-fcf9-4255-984b-0fb7f52194a6 ERROR Invoke Error
{
"errorType": "TypeError",
"errorMessage": "Cannot read property 'split' of undefined",
"stack": [
"TypeError: Cannot read property 'split' of undefined",
" at filterContent (/var/task/index.js:30:25)",
" at Runtime.handler (/var/task/index.js:86:26)",
" at Runtime.handleOnceNonStreaming (/var/runtime/Runtime.js:73:25)"
]
}

@devcybiko
Copy link
Owner

devcybiko commented Oct 29, 2022 via email

@tarun1982
Copy link
Author

I will check for the above and update the support ticket.

But I have one que #
When I send email I am getting below response #
Delivery has failed to these recipients or groups:
tarun123@.app (tarun123@.app)
The address you sent your message to wasn't found at the destination domain. It might be misspelled or it might not exist. Try to fix the problem by doing one or more of the following:

Will this setup will handle this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants