Validating a user at a domain (email account) in PL/SQL

I have seen code in .NET that can validate an email account and I attempted to port this over to oracle and could not get it to work. I do understand that oracle 10G has a function utl_inaddr.get_host_address that can be used to validate a domain; however, I would like to validate a user at a domain (email account).
my code I am using is:
DECLARE
conn               utl_smtp.connection;
rply               utl_smtp.reply;
smtp_error               EXCEPTION;
mail_conn               utl_tcp.connection;
BEGIN
-- open SMTP connection
conn := utl_smtp.open_connection(smtp_host, smtp_port);
rply := utl_smtp.helo(conn, smtp_domain);
DBMS_OUTPUT.PUT_LINE ('Helo Response:'||rply.code||'/'||rply.text);
rply := utl_smtp.vrfy(conn, my_recipients);
DBMS_OUTPUT.PUT_LINE ('vrfy Response:'||rply.code||'/'||rply.text);
rply := utl_smtp.quit(conn);
DBMS_OUTPUT.PUT_LINE ('quit Response:'||rply.code||'/'||rply.text);
END;
The output I get is:
Helo Response:250/OK
vrfy Response:252/Cannot verify user
quit Response:221/closing connection
Can anyone assist me in getting this to work?
Thanks

I'm afraid I can't help with that. I assume it's something in the configuration/setup/capabilities of the SMTP server, but I don't know the specifics. What are you using? Is there an admin you can request help from?

Similar Messages

  • How can 2 users of the same email account tell if one has already read email

    I have 2 users who access the same email account and they need to know if an email has been read by the other person so work doesn't get duplicated.

    I assume you are using IMAP. Probably the most simple solution is to create two folders: one for person1 and one for person2. Then when one of them reads and acts on an email, they can move it from the Inbox to their own folder. That way you still have the emails, but you know who worked on each one.

  • Can multiple users share a single Email Account?

    I set up my email account last night and everything worked perfectly. Messages downloaded from my ISP with no problems. Then I logged out of my user account and logged into my wife's user account. When I clicked on mail to test it, I realized that it is assuming she will be checking mail from a different email account. Is there a way that our seperate user accounts can share the same email account?

    Technically, yes, you should be able to do this... the issue is why do you want to? If you set up her user account Mail (or whatever e-mail application you're using) preferences with the same information you used for yours (mail account name, password, SMTP information) and make sure that the "leave message on server" box is checked in the Mail preferences for both user accounts, the messages for that e-mail account can be downloaded to both user accounts. The problem is that each user would have to delete messages meant for the other. Depending on what type of mail account (IMAP, POP) it may also mean that the "new mail" status of a message may not be correct. A message read in one user's account may show up as "read" in the other. It's much tidier for each user to have their own e-mail address.
    Katrina

  • Submitted PDF form is not delivering to my Domain email account

    Submitted PDF form is not delivering to my Domain email account

    What exactly is not working ? As you have mentioned form submission notification is received in your email account so form process is working I believe but you want the notifications to go to another email account I think.
    Have you added the email address in "Email to" field in form options ? If yes and then also you are not receiving the form , then please provide me the site url and post a screenshot or form with option box open.
    Thanks,
    Sanjit

  • Impossible to verify a .co domain email account

    Hi,
    As you all know you have to verify any non BT email accounts.  However for some reason BT are unable to allow .co domain to be registered.
    When I go through the process of adding an email accout via My BT for verification; when I enter the email address It assumes that the .co is a .com / .co.uk that is misspelt.
    Cant you fix this with a drop box to selct the domain name from a list.  It's very annoying and a big FAIL if BT cannot do this.
    I find it particularly annoying as I use this for business and can only have BT as broadband supplier.
    Please resolve.
    Thanks.

    Hi,
    Just wanted to say I found out the answer. I should have looked first to see if anyone else was having the same problem but I didn't. 

  • App user id is to email account I no longer have access to. How can I cnage my User id

    The email address I used on my old iPhone to get apps and stuff is not accessable anymore, How do I reset the user id so I can download apps now?

    https://appleid.apple.com

  • New user needs help with Email account questions

    Good day - I have been a 10-year user of Blackberrys (Curve, Bold, and earlier models). Just received a new Q10 for work. Enterprise Outlook synched up and I am getting all emails, calendar, and contact information as in the past. All good with this. Here are my questions I cannot find answers to anywhere:
    1) How can I insert a "signature" with emails I compose from Q10?
    2) How can I delete all emails on Q10, rather than one at a time?
    3) How do I set the Q10 to only delete from phone and not network. In other words I only want to delete emails from the Q10 device and not my PC.
    Appreciate any help. Thank you,
    Chris

    #3 is even easier
    Go to Hub settings, then display and actions and drag down, you'll see the option 'delete'.
    Regards.
    Blackberry! Here, now, forever!

  • How to set up multi-user access for an email account?

    Hi,
    In our business, we run 3 macs with Mountain Lion and use Mail to access our IMAP account. Each of us needs to be able to respond to and see incoming/outgoing messages on our respective computers. Unfortunately our mail provider doesn't like concurrent connections. What kind of application can we use to synchronize this account so everyone sees the same thing on each computer? Any suggestions appreciated.
    I should note that we actually have 10 e-mail accounts which all need to function this way, but in the interest of simplicity let's consider we have just the one. Because we have 10 accounts, we can't use iCloud sync, nor do I want to because I don't trust it. I'm looking for something bulletproof and ideally locally stored.

    I use Dreamhost and have been happy with them. There are probably a few hundred companies with similar services, although Dreamhost is one of the largest. It is pretty standard practice these days to have either Google or Microsoft transparently hold e-mail services. Exchange has definitely won the e-mail protocol wars. Basically just pick one that uses Google or Microsoft.

  • TS3276 There are two User accounts on my iMac. The two Users have seperate email accounts.  Both email Mailboxes show up in each Account.  If I Delete Mailbox from in User account, does it delete the Mailbox from the other User account at the same time?

    There are 2 Users on my iMac.  Each User has their own email account.  Both account Mailboxes show up in each User's account.  If I delete a Mailbox in one account, does it delete the same Mailbox in the other Account? 

    If you click the - sign in Mail preferences, it will delete that mail account. If you just delete the Mailbox, that will just delete the Mailbox.
    Each user can put their own email account information in Mail when logged into their User Account.
    If you don't want the other user's mail account to show up in your mail application, then make sure the other user's messages are available to them when they are logged into their account and delete the other user account from Mail in your User Account. The other user can do the same when logged into their user account. Any messages stored in one locally will have to be transfered to the other's user account if it's not saved in their user login.
    In addition, instead of deleting the account at first, highlight the account and open the Advanced Tab and disable the account. That email account will dissappear from Mail. Once you decide that you don't want the account, you can delete it. If you need to get back to it to transfer messages, just re enable it.

  • I created a mobileconfig to setup the users POP email accounts but it creates to accounts on their device.  Why?

    I created a mobileconfig profile using the Apple Configurator to help our users setup their POP email account.  For some reason the configuration creates two email accounts in iOS 8 but only one in iOS 6.  When I delete the profile in iOS 8 it only deletes one of the accounts and leaves the other as an orphan.  I cannot even manually delete the account that is left behind.  Any help will be greatly appreciated.

    Funny,
        Right after I posted this I found the solution......  The key was not modifying the Script after it is created.  I guess the editor was putting in some incompatible characters somewhere.  Anyway it is working great now.

  • Can 2 face time users share same email account

    My wife and I want to communicate with Face Time and we currently only have one email account.  Can 2 Face Time users share the same email account ?

    You can not use one account to make a video call right through the app FaceTime I recommend creating an account only to call when you ask for a payment you put in "none" and that's all

  • Using Eudora or Netscape7 for non-verizon email accounts with FIOS for access

    Since Verizon does not give tech support to 3rd party email clients, and using a non-Verizon email account creates additional problems, I decided to share what I learned the very hard way....certainly with no help whatever from Verizon tech support.
    First of all, there may have been a time (a day, a month, some random nanosecond) when you had to change the port to 587 it is no longer the case.  Port 25 works just fine, and in fact 587 no longer works in most cases.  So ignore tech support's claim that all you have to do is change the port number to 587...don't do it.
    And so long as you want to use a pop account other than verizon for your incoming email you will have to use what is referred to as SMTP Relay.  Verizon tech support will tell you that Verizon no longer supports SMTP Relay, and technically speaking that is true, but Verizon SMTP Relay is not what you need anyway.  What you need is to use the SMTP Relay facility of your Email Client, in my case Eudora and (for my wife) Netscape 7.
    Now before you can actually do anything you will have to have a valid Verizon email account, even if you never plan to actually use your verizon email address.  That means before you can set up your email client you must have a verizon email address. The tech who installed my FIOS supposedly set up my computer, which meant I had internet access, but he didn't set up the verizon email address.  I wasted 2 days before this came to light...so just make sure you have one before starting.
    Netscape 7.0  has an email client my wife has used forever so I had to make it work for Verizon FIOS.  Fortunatly they have a built in SMTP Relay facility (although they never call it that).  You set up your pop (incoming) server the way you always have.  In my our email accounts are on Earthlink, so you use the earthlink POP server for your incoming email.  If you are switching from whatever you have to Verizon FIOS, you will already have that set up anyway.  But you will have to change the SMTP server address to outgoing.verizon.net    and you will have to click the box that says Use Authentication, with  User Name and Password.  You will put into the User Name your verizon email account except without the .verizon.net    And the first time you use this Client to send email it will ask your for your password (use your Verizon password) and you should check the box that says to remember this password.    This will make everything work fine.  You will see on the SMTP Server information page a box that allows you to fill in the port.  If you leave it blank it will use port 25.  If you put in another port number it has to be right, and what is the correct number keeps changing based on which verizon person you talk to.  I found that 25 works, although they say it won't, and that others don't work, although they say they will.
    To Use Eudora (as i do)  first you have to be using the latest version 7.1 because it appears to be the first one that truely supports SMTP Relay. That's a free download if you don't have it.   Then you have to use multiple personalities.  Effectively you set up one personality (go to to tools and click on personalities) which is your normal email account (ie not your verizon one).  This is used for everything with the exception of the SMTP Server interaction.  YOu then set up a second personality which is for your Verizon email account. Be aware that you can still have that account use your normal email return address so folks who receive email from you can reply to your normal email address.  You can, independantly from that set up your incoming email pop account to be either your normal one or your verizon incoming email account (I do it the later way so I can receive something actually sent to my Verizon account, although I never give that out.  But now the important thing is that you set up your SMTP server to be outgoing.verizon.net  set up User Name to be your verizon email account but without the verizon.net and click on Authentication Allowed and Use Relay Personality.  Don't click on Use submission port 587, like I said you want to use 25, but if verizon has changed that yet again no problem as you can set up the port to use independantly using the Tools/Options/Ports , and finally you go to the Tools/Options/SendingMail stuff and select the SMTP Relay Personality to be the one that is set up for the Verizon email account.  That means your client will operate using your primary personality for everything except the SMTP part and for that it will get all its parameters from the Relay Personality. 
    This all worked.

    I use Eudora a my email client and routinely receive both my Verizon and ATT emails. 
    The last email I received  from my Verizon account was at 10:30pm on August 5.  I cannot send emails from Eudora at all either.
    My Verizon DSL email account is active through Verizon-Florida at my home there.  I am currently at my Ohio home and the DSL account is with Frontier which purchased Verizon here in Ohio.
    Does anyone know what might have happened to have resulted in my emails not being sent to or from my Eudora Client?

  • Configuring Multiple domain Email addresses in Exchange server 2013 for Send/Receive

    I've setup an exchange server 2013 , I have an requirement to setup email addresses for multiple domain account.
    For example - My primary email addresses - [email protected] however i need to setup multiple domain email account for single AD user.
    Example
    [email protected]
    [email protected]
    [email protected]
    I was able to setup account to receive email from different users to single mailbox users however how can i send mails from other domains email address apart from primary domain email 
    Thank you
    Benhur

    Hello,
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    I'm marking the reply as answer as there has been no update for a couple of days.
    If you come back to find it doesn't work for you, please reply to us and unmark the answer.
    Cara Chen
    TechNet Community Support

  • New facebook email account

    Facebook has a new email account that uses your user name as an email account ex.  [email protected]... my question is does anyone know how to set up this email account on the Iphone 4 with ios 4.3.3 in the email accounts.   i have searched the  facebook help pages and can not find any help.

    I have not heard that there is an option to access your mail from outside of FB. In fact, one of the benefits FB was touting for the whole thing was how it would be completely integrated into FB, all of your FB chats, messages in one place, and so on. The standard email address is to that people can send you email from other services.

  • Google domain email won't send mail though apple mail

    I just setup a new goole domain email address and have been fully varified with my domain. I set up the account on my imac & macbook pro, both running off Mavericks. I can receive email but not send and I keep getting asked for my email password. It's been entered in correctly. The mail just sits in the outgoing mailbox. The strange thing is that the same email account send emails perfectly from my iPhone. I have searched the issue and it seems to be a common issue with Mavericks however I haven't been able to find one solution that works. Can someone please office some advice? Feeling very frustrated right now! Thanks

    I just fired up a new macbook air and had the same issue - set up my google domains email account and received emails but could not send. Strange as we have many Apple devices and they all work fine. Here is how I sorted it.
    In summary the username used in the STMP server list (which was automatically populated with data on set up) was incorrect. It needs to be set to your full email address - mine just showed my name and no @domainname.com . See below if you need  step by step instructions on how to change it.
    Open mail and in the main menu bar at the top of the screen click on mail then preferences. Click on accounts in the menu at the top of the panel that opens and then select the offending account in the list on the left.
    In the section labelled Outgoing Mail Server there is a menu which is usually defaulted to gmail - click and open this and then select Edit STMP Server List.
    In the new page that opens about half way down you can select advanced. When you click on this there is a panel near the bottom marked username. This was the problem. It had automatically set itself to the first part of my email address without the @nameofdomain.com. When I reset this to read my full address all worked fine.
    I hope this sorts your problem as I know what a total pain in the *ss this can be!

Maybe you are looking for

  • Two Versions of Itunes on same Computer

    Hey guys, my brother has an Ipod and I'm going to get one. I was wondering if Windows can run two Itunes on the same computer. Since Itunes goes with a certain Ipod, I just wanted to know if I install it will it delete his Itunes, or will it not show

  • Issue in starting the server

    Hi All, I wanted to enable Global trust or Cross domain trust between the two domain. To achieve this I executed the following steps: 1. In the left pane, click the name of the domain. 2. Select Security > General. Scroll down and click Advanced. 3.

  • Layers from a PDF to be recognized by Illustrator

    I have exported a dwg to pdf using Autocad, now when I open the pdf with acrobat 9 I can see the layers from the dwg file with the same names and everything, and turn them on and off. When I open the same file with Illustrator the layers are all in o

  • UC on C210 Westmere starter kit

    Hi guys, I have a customer who already posses a couple of Cisco UCS C210 M2 servers based on preconfigured starter kits ( 2 x X5650, 48Gb RAM, 2 x 146 HDD) and IBM SAN storage. We were planning to deploy Unified Communications following the UC on UCS

  • How to stop thread permanatly after start?

    hello, i am using one thread . that thread start with time delay 10 seconds as follow, class tableUpdateThread implements Runnable     Thread thread;     int i,j;     tableUpdateThread()         thread = new Thread (this, "Table updation");         t