1. LeVerne Johnson
  2. PowerBuilder
  3. Thursday, 26 January 2023 13:46 PM UTC

We are using a WEB API to send email out to recipients with attachments.  But, the recipients are getting the same email several times.  The application loops through a table to extract the email addresses.

Any suggestions or help?

Miguel Leeuwe Accepted Answer Pending Moderation
  1. Thursday, 26 January 2023 14:36 PM UTC
  2. PowerBuilder
  3. # 1

This was happening to me too for some time. I can't remember though what was causing the problem. All I know, is that it had to do with my email configuraton.

Please browse https://duckduckgo.com/?q=receiving+every+email+twice&atb=v327-1&ia=web to see if there's anything that might apply to your case.

Which email client are you using?

regards.

Comment
There are no comments made yet.
Kevin Ridley Accepted Answer Pending Moderation
  1. Thursday, 26 January 2023 21:06 PM UTC
  2. PowerBuilder
  3. # 2

Have you run the query that's getting executed to make sure the email addresses aren't duplicated because of the SQL?  Maybe step through in debugger or do a SaveAs() if you are using a dw/ds to loop through.

Comment
  1. LeVerne Johnson
  2. Monday, 30 January 2023 07:29 AM UTC
We stepped through in the debugger. There's only two email addresses and it goes through twice, but sends out 4 emails. 2 to each recipient.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.