Error 501 5.1.7
productResults.length + resourceResults.length > 0 ? 'See all Search Results' : 'Full site search'}} > > CA Support Online > Support by Product > Support by Product Email notifications not being sent out with error "501 5.1.7 Invalid address" Document ID:TEC526592 Last Modified Date:07/17/2013 {{active ? 'Hide' : 'Show'}} Technical Document Details Products CA Service Desk Manager CA Service Desk CA IT Asset Manager Components Svc Desk Email:SDMAIL UNICENTER SERVICE DESK RXX:USRD Description: Email Notifications might not being delivered. Rather, they are being pushed to 'mail_undeliverable' folder. Error in the log states the following - 06/14 20:07:02.53 ca-sd pdm_mail_nxd 5936 ERROR hunny_mail_intf 1549 ThrdLogger Sess:293:2:0 SMTP MAIL command failed Error (501) 5.1.7 Invalid address Solution: This is a problem shows up in following cases You are using Microsoft Exchange Server 2007 (It is a problem identified by Microsoft - refer to KB Article as mentioned below) You do not have a valid email address created (in Exchange) and defined (in Service Desk) for the Sender Again it is not really required to have an email address defined in options manager for the MAIL_FROM_ADDRESS, because it is just relaying the email notifications. This would not have been a problem in case the exchange Server was Exchange 2000 or 2003. But is a problem in case you are using Microsoft Exchange Server 2007. # To over come the above problem you can take two approaches - Define a valid email address in the Exchange (Consult your Exchange Admin) Let's assume you intend to have the mail_from_address as ServiceDesk. The general notion is to have the address defined as
STARTED LEARN MORE Hire Support EngineersOverviewFeaturesHow We WorkSupported TechnologiesSupport Plans CloseManaged Support We manage your help desk, live chat and phone support for one low fixed price per month. TRY FOR FREE GET STARTED LEARN MORE Managed SupportFeaturesHow Support WorksSupported TechnologiesPricingSupport ChannelsHelp Desk SupportPhone SupportLive Chat Support Close CloseInfrastructure Management Bobcares keeps your servers secured and optimized, http://www.ca.com/us/support/ca-support-online/product-content/knowledgebase-articles/tec526592.aspx so that your customers get reliable service 24/7. LEARN MORE CONTACT US ServicesServer ManagementServer AdministrationEmergency Server SupportLinux Server ManagementWhat We DoSystem Software ManagementServer/Application InstallationIssue TroubleshootingServer HardeningPerformance TuningServer MonitoringEmergency SupportDisaster Recovery ManagementData MigrationDevOps CloseDesign and Development By strict adherence to coding standards, rigorous testing, and https://bobcares.com/blog/how-to-fix-email-error-501-571-invalid-address/ banking on 14 years of experience in software development, we deliver bug-free, extendable software with zero delay in project milestones. COMPARE PLANS TRY FOR FREEDesign and Development PlansManaged ProjectHire Our DeveloperTesting ServicesDesign ServicesWebsite DesignLogo DesignCharacter DesignSoftware Development ServicesWordPress DevelopmentDjango DevelopmentMagento DevelopmentiPhone/iPad App DevelopmentAndroid App DevelopmentCMS CustomizationeCommerce IntegrationJoomla Customization CloseSupported TechnologiesCloud SupportoVirtOnAppRHEVSee moreServer VirtualizationHyper-VKVMDockerSee moreOperating Systems SupportWindowsLinuxSee moreControl Panel SupportcPanel/WHMPleskSee moreApplication SupportWordPressMagentoSee moreWeb Server Management CloseIndustriesWeb Hosting SupportData Center SupportCloud Hosting SupportVPS Hosting SupportWebsite SupportSaaS Support CloseProductsProductivity and Business ManagementWordPress Plugin For Todo ManagementWordPress Plugin For Video Subscription ManagementWordPress Plugin To Display Business LocationWordPress Plugin For WHMCS Client ListingWordPress Plugin For WHMCS Domain ListingSignup and ProvisioningWordPress Plugin For Contact Form ManagementWordPress Plugin For Domain Registration using WHMCS APIWordPress-WHMCS Integration Plugin For Order ManagementWordPress Plugin For Creating Accounts in ISPConfigBranding and PromotionWordPress P
STARTED LEARN MORE Hire Support EngineersOverviewFeaturesHow We WorkSupported TechnologiesSupport Plans CloseManaged Support We manage your https://bobcares.com/blog/tag/501-5-1-7-invalid-address/ help desk, live chat and phone support for one low fixed price per month. TRY FOR FREE GET STARTED LEARN MORE Managed SupportFeaturesHow Support https://coderanch.com/t/534978/java/java/javax-mail-MessagingException-Invalid-address WorksSupported TechnologiesPricingSupport ChannelsHelp Desk SupportPhone SupportLive Chat Support Close CloseInfrastructure Management Bobcares keeps your servers secured and optimized, so that your customers get error 501 reliable service 24/7. LEARN MORE CONTACT US ServicesServer ManagementServer AdministrationEmergency Server SupportLinux Server ManagementWhat We DoSystem Software ManagementServer/Application InstallationIssue TroubleshootingServer HardeningPerformance TuningServer MonitoringEmergency SupportDisaster Recovery ManagementData MigrationDevOps CloseDesign and Development By strict adherence to coding standards, rigorous testing, and banking on 14 years of experience in error 501 5.1.7 software development, we deliver bug-free, extendable software with zero delay in project milestones. COMPARE PLANS TRY FOR FREEDesign and Development PlansManaged ProjectHire Our DeveloperTesting ServicesDesign ServicesWebsite DesignLogo DesignCharacter DesignSoftware Development ServicesWordPress DevelopmentDjango DevelopmentMagento DevelopmentiPhone/iPad App DevelopmentAndroid App DevelopmentCMS CustomizationeCommerce IntegrationJoomla Customization CloseSupported TechnologiesCloud SupportoVirtOnAppRHEVSee moreServer VirtualizationHyper-VKVMDockerSee moreOperating Systems SupportWindowsLinuxSee moreControl Panel SupportcPanel/WHMPleskSee moreApplication SupportWordPressMagentoSee moreWeb Server Management CloseIndustriesWeb Hosting SupportData Center SupportCloud Hosting SupportVPS Hosting SupportWebsite SupportSaaS Support CloseProductsProductivity and Business ManagementWordPress Plugin For Todo ManagementWordPress Plugin For Video Subscription ManagementWordPress Plugin To Display Business LocationWordPress Plugin For WHMCS Client ListingWordPress Plugin For WHMCS Domain ListingSignup and ProvisioningWordPress Plugin For Contact Form ManagementWordPress Plugin For Domain Registration using WHMCS APIWordPress-WHMCS Integration Plugin For Order ManagementWordPress Plugin For Creating Accounts in ISPConfigBranding and PromotionWordPress Plugin For Gift Certificate CreationWordPress Plugin For Current Promotion DisplayWordPress Plugin To Display Daily Quotes
This Site Careers Other all forums Forum: Other JSE/JEE APIs javax.mail.MessagingException: 501 5.1.7 Invalid address Romeo Ranjan Ranch Hand Posts: 95 posted 5 years ago Hi All, I am trying to send email from my code using java mail. Here is the code snippet private Session _session = null; String host = (String)PropertyManager.getProperty("mail.smtp.host"); props.put("mail.smtp.host", host); _session = Session.getDefaultInstance(props, null); Message msg = new MimeMessage(_session); msg.setFrom(new InternetAddress(from)); InternetAddress[] address = {new InternetAddress(to)}; msg.setRecipients(Message.RecipientType.TO, address); msg.setSubject(subject); msg.setSentDate(new Date()); msg.setText(message); Transport trans = _session.getTransport(address[0]); trans.send(msg); // line 50 trans.close(); The exception that I get is javax.mail.SendFailedException: Sending failed; nested exception is: class javax.mail.MessagingException: 501 5.1.7 Invalid address at javax.mail.Transport.send0(Transport.java:218) at javax.mail.Transport.send(Transport.java:80) at packagename.MailService.send(MailService.java:50) at packagename.MailService.send(MailService.java:77) I understand that the SendFailedException for invalid address might occur if the address may not exists which is not true-its my company mail address that I use. There might be a invalid syntax-no problem withthe syntax of the address.. I am not able to figure out the reason for the issue..Can someone please help me? Thanks SCJP 6.0 Paul Clapham Sheriff Posts: 21440 33 I like... posted 5 years ago I would start with the obvious. You've provided an invalid address (either the "from" address, or one of the recipient addresses). So look at those addresses. Post them here if you don't see what's invalid about them. Post Reply Bookmark Topic Watch Topic New Topic Similar Threads JavaMail - why doesn't this work??? problem in sending mail Error while running a simple java mail application java mail Sending Email in java through MS Exchange Server All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter Contact Us | advertise | mobile view | Powered by JForum | Copyright © 1998-2016 Paul Wheaton