Cfmail "failto" not working with non-existent internal email addresses

We've hard-coded cfmail TO value in many places across many
applications, i.e.
<cfmail to="[email protected];[email protected];[email protected]"
...>
Suppose when one of the users (user1,user2, user3) left
company and his email address was removed from the MS Exchange
server, cfmail would fail saying
A problem occurred when attempting to deliver mail.This
exception was caused by: javax.mail.SendFailedException: Invalid
Addresses; nested exception is: class
javax.mail.SendFailedException:
550 5.1.1 User unknown
in the server exception log and cfmail wouldn't report the
error to the email address of "failto".
So I'm wondering if it's possible to have cfmail ignore the
bad one(s) and continue to send the email? Or is there anything I
should do with the Exchange server?
Advice is much appreciated.

Thank you, Dan.
Sorry, what I meant by "non-existent" is not quite
straightforward. Let me explain this way:
I observed the problem only occurred to emails of our
company. For instance: our company's email address ends with
@abc.com.
my email address: [email protected]
my previous colleague's address: [email protected] (he's gone and
the email is invalid / deactivated now)
my client's email: [email protected] (used to be valid)
If I code this way:
<cfmail to="[email protected]" failto="[email protected]"...>
"failto" does work and I got the email.
but if these:
<cfmail to="[email protected]" failto="[email protected]"...>
<cfmail to="[email protected];[email protected]"
failto="[email protected]"...>
I never got emails reporting the failure but error lines in
the mail log and the exceptions log which read:
"Error","scheduler-3","01/28/09","11:55:32",,"Invalid
Addresses"
"Error","scheduler-3","01/28/09","11:55:32",,"Invalid
Addresses"
javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 User
unknown
at
com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196)
at
com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
at coldfusion.mail.MailSpooler.deliver(MailSpooler.java:832)
at
coldfusion.mail.MailSpooler.sendMail(MailSpooler.java:731)
at
coldfusion.mail.MailSpooler.deliverStandard(MailSpooler.java:1021)
at coldfusion.mail.MailSpooler.run(MailSpooler.java:986)
at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201)
at
coldfusion.scheduling.WorkerThread.run(WorkerThread.java:71)
Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550
5.1.1 User unknown
at
com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047)
... 7 more

Similar Messages

  • Why does Server Monitor not work with non-Xserves?

    Does anyone know why Server Monitor does not work with non-Xserve computers? We acquired a Power Mac for a server, based on there being no apparent difference except for the obvious. Turns out there are some differences after all.
    Do Power Macs lack some hardware components or is this just a software thing?

    God question, unfortunitly I dont have the answer but I would also like to know why the software only works for X-Serve....Is there any 3rd Party Software that is similar to "Server Monitor"?
    Thanks

  • Airplay not working with non-apple router

    I use an airport express only for playing music in a remote location. It stopped working after I switched my main wireless router from a Time Capsule to a Linksys running Tomato USB firmware.
    The Express is set up as "join a wireless network" with the correct SSID and password. The light on the Express is green and the main router status page shows it is connected, but Airplay cannot see the Express from either iTunes on my macbook or my iPhone. Also I cannot see the device in Airport Utility. When I connect the Express to my computer with ethernet, Airport Utility can see it and so can iTunes.
    I have another Express hooked to the network via ethernet and everything works fine with that one.
    Surely Airplay should work with non-apple wireless routers. Any suggestions would be appreciated.
    thanks

    Factory reset the express, and try to make it join again...

  • Cisco Aironet FW 15.2 Does not work with Non-Cisco Media Bridges

    I have a Cisco Aironet 1142i that was just updated from 12.4(23c)JY to 15.2(4)JA1 (don’t think model matters as the issue seem to be the firmware) and now I cannot get my media bridges (3 different ones) to either connect to the 1142 AP or obtain and pass the DHCP addresses to other device connected to the built in switch. If I reload the 1142 AP firmware to 12.4, than this works fine. I have not seen anything in the release notes that changed how this works or if there is I could not find it.
    Does anyone know why this changed and if there is any settings that I need to enabled / disable?
    Any help on this would be greatly appreciated

    More info to add to this.
    AIR-AP1142N-A-K9 Hardware Version of v06 works with firmware 15.2.
    AIR-AP1142N-A-K9 Hardware Version v05 does not work with firmware 15.2, but will when downgraded to firmware 12.4.
    I'm also having this issue with Cisco Aironet 3602 Fw 15.2(2)JB and 3502 Fw 15.2(2)JB$ that's on a Cisco 2500 WLAN Controller Sw Ver. 7.4.100.0.
    Any help on this would be greatly appreciated

  • `created 2 Apple account, one with non existent E-mail address. How can i delete my fake Apple account?

    Hi,
    Did some non sense out of ignorance.Created 2 Apple ID account, one with non existent mail. It suddenly coming back to haunt me. Till now everything was ok, was dowlinding lots of apps, music... Now it suddenly swichted to the fake e-mail adress, i'm totally bloqued.
    How can i delete this second useless account?

    Hello,
    You don't need access to the email address to log in to the Apple ID and you can change the email if required.
    Assuming you don't need it for any services, as you can't actually delete an Apple ID, log in here (link) and remove all personal details from the page and then cease using that account. 
    regards
    mrtotes

  • Non-English international email addresses

    Hi
    Any help or pointers are much appreciated.
    I get data feed from our HR database to our application database.
    Some of the email addresses are non-english ( international ).
    The questions is 1.
    1. how do I store, retrive and use the same for posting email notification ?
    2. What should be my database server charater set ?
    3. What should be my client application charater sert ?
    4.How do I capture the email address. Meaning what is the data type of the email address field in the table.
    5. Will there be any impact on other oracle database, which is connecting to our application database
    thanks
    siva

    Thank you, Dan.
    Sorry, what I meant by "non-existent" is not quite
    straightforward. Let me explain this way:
    I observed the problem only occurred to emails of our
    company. For instance: our company's email address ends with
    @abc.com.
    my email address: [email protected]
    my previous colleague's address: [email protected] (he's gone and
    the email is invalid / deactivated now)
    my client's email: [email protected] (used to be valid)
    If I code this way:
    <cfmail to="[email protected]" failto="[email protected]"...>
    "failto" does work and I got the email.
    but if these:
    <cfmail to="[email protected]" failto="[email protected]"...>
    <cfmail to="[email protected];[email protected]"
    failto="[email protected]"...>
    I never got emails reporting the failure but error lines in
    the mail log and the exceptions log which read:
    "Error","scheduler-3","01/28/09","11:55:32",,"Invalid
    Addresses"
    "Error","scheduler-3","01/28/09","11:55:32",,"Invalid
    Addresses"
    javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
    com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 User
    unknown
    at
    com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196)
    at
    com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
    at coldfusion.mail.MailSpooler.deliver(MailSpooler.java:832)
    at
    coldfusion.mail.MailSpooler.sendMail(MailSpooler.java:731)
    at
    coldfusion.mail.MailSpooler.deliverStandard(MailSpooler.java:1021)
    at coldfusion.mail.MailSpooler.run(MailSpooler.java:986)
    at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201)
    at
    coldfusion.scheduling.WorkerThread.run(WorkerThread.java:71)
    Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550
    5.1.1 User unknown
    at
    com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047)
    ... 7 more

  • Automated Composite build/test not work with non-default version

    Hello,
    I have a BPEL composite and I am trying to setup maven and soapUI to build, deploy, test, and upon successful test, set it as the default version. The difficulty I am having is testing the composite before it becomes the default version. I am able to hit the endpoint using the full URL with the randomly generated ID in it using soapUI (see below), but not by using the shortened URL.
    Full URL: http://soabpm-vm:8001/soa-infra/services/default/Project1!0.0.12-SNAPSHOT*soa_13954572-b91f-480d-88d2-037e92083d72/bpelprocess1_client_ep
    Shortened URL: http://soabpm-vm:8001/soa-infra/services/default/Project1!0.0.12-SNAPSHOT/bpelprocess1_client_ep
    I tried hitting the shortened URL outside of the maven build, just using soapUI, and the response is empty. However, if I then mark this new version as default (through EM), and then mark a previous version as default (let's say 0.0.11), then the shortened URL for 0.0.12 can be successfully hit.
    It seems to me then that before the shortened URL above can be used, that specific version must have been set as the default version at some point. This would make an automated maven/soapUI test of new version (but not default) quite difficult, as it would have to somehow retrieve the full URL.
    Is this a bug or can it be fixed with a config setting change?
    Here are the steps in the process, maven build (using the Oracle provided ant sca files):
    1. Compile
    2. Package
    3. Deploy, not as default
    4. Test the new version (using soapUI plugin)
    5. If successful tests, mark new version as default
    The problem is with step 4, can't determine what the full URL is and the shortened URL does not work.
    Thanks
    Ben

    I found a similar issue in Oracle's support site, Patch 13774839 (based on bug 13569816). I will try that out and post the results here.

  • SMS relay not working with non-iMessage users?

    One of the features I'm most looking forward to in Yosemite is the ability to text people without iPhones. I attempted to do this tonight, but the message failed to send and the person's name was in red. I got the standard "message failed" note, like I get on my iPhone when a message doesn't go through, but I thought it should have gone through just fine.
    More info: the contact is in red, not blue or green, and when I type the phone number I get the "this contact is not registered with iMessage" error message. Of course it's not - the contact is not an Apple user!
    My iPhone is an iPhone 6 running iOS 8.0.2 and my Mac is running Yosemite 10.10.
    What am I doing wrong?
    Thanks!
    Michael M

    I am fortunate to report that it is, in fact, working for me, as evidenced by the fact that I sent and received an SMS to and from an Android user. There was a bit of a hiccup when I enabled SMS relay on my iPhone, as the code which was required popped up and then canceled itself. Once I canceled the entire process, and re-linked the two (Macbook Air and iPhone 6) the pairing and relay went off without a hitch.
    Try this: start from the phone, then the iMac. Only input the code in Messages on your iMac after the link is established. I have a feeling it might not truly be synced yet.

  • Mail does not work with ONLY ONE e-mail address

    I am using mail with 6 different e-mail addresses all using godaddy as my mail server. Some(4) are imap, some(2) are pop3.
    All of my e-mails work great except for 1 (which is imap). My iPhone and iPad as well as entourage all work for this e-mail address. It is only Mail that does nto work all the time.
    This is the frustrating part. It works some times, and not others. No rhyme or reason to it. When it is not working, the only way to make it work right away is to delete the account and re-install the account. Some times, it will just start working on it's own. The worst part, is whenever I bring it in to a genius to look at it, it starts working, and of course, they say nothing is wrong.
    Any thoughts on how to fix this???

    Okay, it works the same way for me. I'm not sure whether "open all" will come back in that case, where there's only one bookmark. Does it slow down your workflow a lot to middle-click on the bookmark itself instead of on the folder?
    Requests for feature changes get a bit lost here in the support forum. You can submit suggestions in one or more of the following ways:
    (1) Feedback site: https://input.mozilla.org/feedback
    (2) Developer mailing lists (sometimes hard to figure out which one is best): https://lists.mozilla.org/listinfo
    (3) Bug tracking system (yours would be a request for enhancement): https://bugzilla.mozilla.org/ and https://developer.mozilla.org/docs/Mozilla/QA/Bug_writing_guidelines
    With all the bookmark-related extensions out there, it's possible someone has posted one that adds this feature back, but I haven't searched.

  • Me outgoing mail server not working from iPhone / Reply to email address

    Hi, I have MM sent up on my iPhone and Mac, the SMTP outgoing mail server does not work from the iPhone but does from the Mac, to get around this I changed the outgoing server on the iPhone to my optusnet outgoing server, that has been working fine, the problem I have is if someone reply's to a email from the phone it gets bounced back becuase the reply to email address for me is @mac.com not from @me.com
    I have tried to change the reply to email address in the phone but it only allows you to change the name not the @mac.com
    I have only ever had a Me account not a .Mac account so I dont know why its locked to @mac

    I deleted the MM account on the phone and reinstalled it again. Now it is working.

  • Messenger not working with non-apple cells after changing password iOS password

    I changed my password because apple decided to not accept my password simply trying to download an app and after i got home, i lost capabitilty of texting to non-iphones through the messenger app.
    It absolutely lost the capability i had before simply by changing my password.
    I tried relogging in in all my devices iphone, ipad, and macbook pro and though i can text fine on my iphone, i no longer can text outside of the apple world to android cell phone users.
    How do i regain connectivity to the rest of the world instead of just apples?!
    Thank you in advance.

    Hi,
    If the iCloud ID is the same one you use in Messages for the iMessages account then you need to change the password there and in all other devices.
    As you tend to be unable to change all devices at the same time the link between the iPhone number and th Apple ID tends to get lost which then means any Text Forwarding linking also gets broken.
    On the Mac Version Untick the Enable box for the iMessages account.
    On the iPhone remove the Apple ID and place the iPhone in Airplane mode for a good two minutes.
    Go back to the Messages settings after this and make sure the iPhone number Verifies.
    When this is done turn th Enable box back On on the Mac version.
    Untick the iPhone number as a Receive "ID".  This may make the Start Conversation From drop down disappear.
    Send an iMessages from the iPhone (it can only use it's number) to the Apple ID (Effectively the Mac)
    Send a reply.
    This will check that the iPhone  (Number) can Send and Receive.
    Now on the iPhone Add back the Apple ID to re-link them.
    This should cause the Pop up to appear on the Mac.
    If it does not Restart the Mac version.
    This should Enable the unticked iPhone number in the Receive At list and make the Start Form drop down appear.
    Now Reset the Text Forwarding.
    9:42 pm      Monday; March 23, 2015
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Webstart not working with non standard port

    I am using Java Web Start 1.0.1 coupled with JDK 1.3.1 to access a client application, from behind a firewall.
    Webstart launches correctly, but gives me this error on trying to load the application
    Description
    ======================
    An error occurred while launching/running the application.
    Title: Deal Entry Application - DV17
    Vendor: BP
    Category: Download Error
    Unable to load resource: http://dlw1debs17.bpweb.bp.com:7001/dealentry.jsp
    The problem is that, while i can successfully run and download the sample applications available at Sun's website, i am unable to launch this particular app. i have been assured that the port 7001 is open for connections.
    Here are the rest of the details
    Exception
    ========================================
    JNLPException[category: Download Error : Exception: java.net.ConnectException: Connection refused: connect : LaunchDesc: null ]
         at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(Unknown Source)
         at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Wrapped Exception
    ===========================================
    java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.<init>(Unknown Source)
         at sun.net.www.http.HttpClient.<init>(Unknown Source)
         at sun.net.www.http.HttpClient.New(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at java.net.HttpURLConnection.getResponseCode(Unknown Source)
         at com.sun.javaws.util.URLUtil.doesURLExist(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(Unknown Source)
         at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(Unknown Source)
         at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Here's the jnlp file
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp
    spec="1.0+"
    codebase="http://dlw1rdbs17.bpweb.bp.com:7001"
    href="refdata.jsp">
    <information>
    <title>Ref Data Application - DV17</title>
    <vendor>BP</vendor>
    <homepage href="http://global.bpweb.bp.com/"/>
    <description>Ref Data Application - DV17</description>
    <description kind="short">Ref Data Application - DV17</description>
    <icon href="icon.gif"/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.3.1" initial-heap-size="64M" max-heap-size="96M"/>
    <jar href="rdmain-client.jar"/>
    <jar href="xy.jar"/>
    <jar href="wl61.jar"/>
    <jar href="log4j.jar"/>
    <property name="nextgen.jnlp.url" value="http://dlw1rdbs17.bpweb.bp.com:7001/refdata.jsp"/>
    <property name="java.naming.factory.initial" value="com.bp.ist.arch.client.NextGenContextFactory"/>
    <property name="nextgen.server.addresses" value="London,t3://dlw1rdbs17.bpweb.bp.com:7001" />
    <property name="nextgen.help.url" value="http://dlw1rdbs17.bpweb.bp.com:7001" />
         <property name="compressed" value="true"/>
    <property name="com.bp.ist.environment.envname" value="DV17" />
    <property name="com.bp.ist.environment.serverlocale" value="LONDON" />
    <property name="com.bp.ist.environment.appver" value="R2M3.1_REF_0204" />
    <property name="com.bp.ist.environment.dbschema" value="UNSET" />
    </resources>
    <application-desc main-class="com.bp.ist.refdata.main.swing.RefDataAppController"/>
    </jnlp>
    If anyone has a solution to this, please help out, because i have been stuck on this for almost 3 days now.
    Any suggestions will be sincerely appreciated.
    Thanks
    Karan

    1.0.1 is an older version of Java Web Start, which has since seen versions 1.2, 1.4.2, and now 1.5.
    This is probably a bug in the old (1.0.1) version of Java Web Start. Please try with a newer version.
    /Dietz

  • Firefox Version 11.0 not working with Yahoo! Babel Fish!

    I just updated Firefox to Version 11.0 on my Mac OS X Version 10.6.8. The '''Yahoo! Babel Fish''' still does not work with non-Roman based scripts, such as '''Russian''', '''Greek''', '''Chinese''', ''etc''.
    If you attempt to translate text in one of such scripts into English, both the input and output windows get garbled characters (which are supposed to be codes of some sort); if you attempt to translate English into one of these languages, you get a blank space.
    If I use '''Safari''' Version 5.1.4, however, '''Yahoo! Babel Fish''' works perfectly.
    Hope this problem can be solved soon.
    Thanks!

    I've had the same issues for the past couple of months. I did not see your question earlier in the day, so I posted a similar question here:
    https://support.mozilla.org/en-US/questions/923500
    @cor-el - He says it works fine in Safari. It works fine for me in Chrome or IE also. This is not an issue with the babelfish page. This is a Firefox issue.

  • @protocol doesn't seem to work with non-primitive arguments

    Any idea why this works.
    CustomProtocol1.h
    @protocol CustomProtocol1
    - (void) start:(int) offset;
    @end
    But this doesn't:
    CustomProtocol2.h
    @protocol CustomProtocol2
    - (void) start:(CustomClass*) custom;
    @end
    The only difference is that CustomProtocol1 uses a non-primitve argument. Here is the error I get for CustomProtocol2: "Syntax error before 'CustomClass'. Method definition not in @implementation context"
    It seems CustomProtocol2 has problems finding the CustomClass.h but if I add #import "CustomClass.h" into CustomProtocol2.h I get this error: "Cannot find protocol declaration for 'CustomProtocol2'"
    So far, I can only conclude that Objective-C @protocol does not work with non-primitives.
    Any help would be MUCH appreciated.
    Anthony

    The compiler doesn't know what CustomClass is. You have to tell it. However, it is a pointer and, hence, actually is a "primitive" (AKA POD - plain 'ole data) type. So, you need to forward declare CustomClass like so:
    @class CustomClass;
    @protocol CustomProtocol2
    - (void) start:(CustomClass*) custom;
    @end

  • Promemoria geolocalizzati non funzionano con iOs 7 location-based reminders do not work with iOs7

    promemoria geolocalizzati non funzionano con iOs 7
    location-based reminders do not work with iOs7

    Hi konekotron,
    See this manual about using the Apple Wireless Keyboard with your iPad -
    iPad User Guide
    http://manuals.info.apple.com/MANUALS/1000/MA1595/en_US/ipad_user_guide.pdf
    See page 25 and the section on using International Keyboards on page 125.
    A similar guide for the iPhone -
    iPhone User Guide
    manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf
    See page 28.
    Thanks for using Apple Support Communities.
    Best,
    Brett L

Maybe you are looking for