Cold Fusion Mail Being Repeatedly Sent By CF 10 Server - email

I'm migrating an app from a CF8 Server to a new CF 10 Server. As I was working with a form that sends an email everything seemed to work as it should and I received a copy of the email. And then another, and another. Every 15 seconds the server would send me the same email.
I took the mail server out of the CF Admin and still the duplicates kept coming. I checked the spool and undeliverable folders and they were both empty. The only thing that stops the emails from being sent is to stop the actual ColdFusion Application Service. When I restarted the service, however, the emails started up again!
I created a simple test page that has only a minimal CFMAIL tag with the basic fields and gave that a try. Same thing. Only now I have two emails coming into my inbox every 15 seconds while the service is running.
The mail log shows the emails being sent but doesn't give any indication of how they are being triggered. I can't understand where these emails might be stuck in the CF Server in a way that they are sent every 15 seconds. I've Googled it mightily with no leads.
Has anyone else experience anything like this? Thanks for any guidance.

Related

Email succesfully sent but not appear in Sent Items (Microsoft 365)

Hi Good day to everyone here.
My first questions, here we go but i'll try to explain it the best way I could.
I develop auto sending email features using javaxmail in my application for my customer.
Previously when using setting smtp.office365.com I able to send email and the copies of sent email are display in Sent Items folder.
Recently when there are hiccup with smtp office (time out frequently), the IT department at my customer change the setting to use local server instead for smtp (with ip address 172.162.etc.etc). However since the start using this new setting, the email no longer appear in Sent Items but the email still able to sent out ( I test sending email to myself and able to received it ).
Since Im not really familiar and have very limited knowledge on server side for mail server, is there anything I can suggest to the IT department to check for? I only can login the email account on web (https://outlook.office.com/mail/) but when using outlook it required authentication. With web mail i already go thru all settings available and didn't see anything related.
Thanks in advance. Sorry if the question confusing and misleading.
Well, of course - your local SMTP server knows absolutely nothing about your remote Exchange mailbox. It cannot possibly place anything in your Sent Items folder.
You need to send using your Exchange Server - its SMTP server does place sent messages in the Sent Items folder owned by the authenticated user. Keep in mind that MS has recently disabled basic auth in M365. You need to re-enable it for your tenant and the particular mailbox used to send messages.

Getting duplicate HTML content in a generated mail

I am running a process which generates mail using template and send mail using sparkpost via SMTP server.
Process sends approx 500K mails per day.
But I am getting duplicate HTML content in around 2-3 mails per month which is strange.
I have already ruled out some possibilities like
Error in mail server
mail sending logic via SMTP to sparkpost
any loops
Not reproducible in dev environment or any other env.
Need some pointers to get around this issue. I can't add code as there is too much logic behind it.
Sample error Content looks like this.

refreshing gmail only one time per hour

I've a webmail in my own domain like eg office#mydomain.com, but that webmail is quite poor so I decided to migrate to gmail. I had created mail like mydomain#gmail.com and gave a redirection from my webmail to gmail. Everythin' is ok but....gmail is refreshed only one time per hour. My host provider said they push my e-mails immediately after receiving, but the problem is in gmail.
I found some info about option "refresh POP account" but - most likely - that option is no longer available in gmail labs.
Any idea, how to force gmail to refreshing at least every (few) minutes?
It looks like "refresh POP account" has been integrated into gmail (http://googleappsupdates.blogspot.nl/2012/08/three-gmail-labs-graduation-into.html) so by using the "refresh" button pop servers should be refreshed.
However we have a problem that sometimes we know we have emails on our pop servers yet gmail writes it checked 0 minutes ago and didn't find any. Yet 30 mins later the mail gets retrieved so my conclusion is it doesn't always work.

How to stop Google Script running infinetly

I have accidentally started a GmailApp script with infinite loop and now i m receiving bulk mail. I had set an alias for my account and been receiving mail from alias account.
I tried to stop the script by:
Revoked the access to the script
Deleted the alias as well, no success yet
Deleting the script but not working, still receiving the mails
Now i have no idea what to do. I last 30 mins i have received around 500 mail and dont know how to stop these script.
It is unlikely that the script is sending you bulk email because it can send a maximum of 100 emails in a day while you received 500 in 30 minutes.
If you could look into the email headers, it will give you some idea about where these emails are originating from.

What is better practice for error notification by email

This question is language independent.
I have an application that handles requests in a loop. During this loop for each request multiple actions are taken. These actions are sitting inside try / catch / log blocks.
I am now extending this to notify administrators of severe errors via email.
This is all very easy, except for one thing. We are relying on the client/s to implement their own email delivery redundancy, and I know from experience there will always be one client who just has one SMTP exchange server, and this is bound to go down from time to time.
So here is the dilemma:
Scenario 1 (don't handle the error during failed send) - when I send an email to admin and SMTP is down it will break the app (app will stop running, and additional loops will stop processing, because the error is unhandled) This means that the error reporting which was supposed to be beneficial to the app suddenly becomes the reason why 99/100 requests don't get processed because there was an issue with request 1.
Scenario 2 (handle the exception during failed send) - this means that I surround send code in try/catch/log blocks, great! the application processes all requests 99 of them, except one, but the admin now has no notification of this one error via email because when it tried to send SMTP was down, and that error was simply logged to the application log, the admin who doesn't check this log for days (even weeks) at a time now has no way to know that error took place.
So is there a win/win way to solve this problem or am I always going to be at a loss, and in the mercy of SMTP being up. Remember it is out of our scope to manage email server redundancy.
Extend scenario 2 to keep a record of which entries in the application log didn't get sent via email, and periodically poll this log for unsent entries and try to resend them - eventually the smtp service will be available again. (You might want to stop any resent errors from going back in the resend queue tho...)
I would suggest the "win-win" way would be to have a server admin who actually administrates the server, rather than one who is entirely unreachable when his mail server is down, and doesn't bother to check up on it afterwards to see if he missed any notifications.