How to use cfmail without specifying username and password??

Hi pp,
i have been trying to use the cfmail functionality to send and receive e-mails connecting to the smtp server of <MyUniversity>
i am creating a page where, at the end a e-mail has to be sent from <[email protected]> to <[email protected]>
i am connecting with the univ server from the cf server to test whether the e-mails are delivered.
the e-mails are sent only if i mention the <Username> and <Password> fields belonging to the <[email protected]>
for my test case i used my own id and the if i set the username and pwd, the e mails are sent, otherwise the emails are not getting delivered.
can someone suggest why this is happening and i have to make sure that at the end of launching the site, i dont have to get the username and password, because i will not be given access to it as a developer.
Please suggest me wat to do.
i am using the simple cfmail function.
<cfmail
            server="smtp.<univ>.edu"
            port="25"
            from="[email protected]"
            username="[email protected]"
            password="**********"
            to="[email protected]"
            subject="testing testing">
                   <testing the mail functionalities>
</cfmail>

Use :
Properties prop = System.getProperties();
prop.put("proxySet","true");
prop.put("http.proxyHost","yourProxy");
prop.put("http.proxyPort","8080"); // change the port
//prop.put("https.proxyHost","yourProxy");
//prop.put("https.proxyPort","8080"); // change the port
Denis

Similar Messages

  • How to retrieve WorkflowContext without passing username and password ?

    Hi,
    I have created a dynamic ApprovalGroup and inside this class i have the following private method.
    private IWorkflowContext fetchWorkflowContext() {
              IWorkflowServiceClient wfSvcClient =
                   WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.LOCAL_CLIENT);
              ITaskQueryService queryService = wfSvcClient.getTaskQueryService();
              IWorkflowContext workflowContext;
              try {
                   workflowContext =queryService.authenticate("weblogic", "weblogic1".toCharArray(), null);
                   } catch (WorkflowException e) {
                   e.printStackTrace();
    But when i retrieve workflowContext, I have to pass username and password.As this dynamic ApprovalGroup class will be deployed on the same SOA server under D:\Oracle\Middleware111150\Oracle_SOA1\soa\modules\oracle.soa.ext_11.1.1
    I have kept wf_client_config.xml under D:\Oracle\Middleware111150\Oracle_SOA1\soa\modules\oracle.soa.ext_11.1.1\classes.
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <workflowServicesClientConfiguration
    xmlns="http://xmlns.oracle.com/bpel/services/client">
         <server name="default" default="true" excludeFromFederatedList="true">
         <localClient>
              <participateInClientTransaction>false</participateInClientTransaction>
         </localClient>
         <remoteClient>
              <serverURL>t3://localhost:8001</serverURL>
              <userName>weblogic</userName>
    <password>weblogic1</password>
              <initialContextFactory>weblogic.jndi.WLInitialContextFactory</initialContextFactory>
              <participateInClientTransaction>false</participateInClientTransaction>
         </remoteClient>
         <soapClient>
              <rootEndPointURL>t3://localhost:8001</rootEndPointURL>
              <identityPropagation mode="dynamic" type="saml">
                   <policy-references>
                   <policy-reference enabled="true" category="security" uri="oracle/wss10_saml_token_client_policy"/>
                   </policy-references>
              </identityPropagation>
         </soapClient>
         </server>
    </workflowServicesClientConfiguration>
    How to retrieve WorkflowContext without passing username and password ?
    ============================
    workflowContext =queryService.authenticate("weblogic", "weblogic1".toCharArray(), null);
    ============================
    regards.
    Edited by: user10303338 on Oct 5, 2011 1:51 AM

    Use :
    Properties prop = System.getProperties();
    prop.put("proxySet","true");
    prop.put("http.proxyHost","yourProxy");
    prop.put("http.proxyPort","8080"); // change the port
    //prop.put("https.proxyHost","yourProxy");
    //prop.put("https.proxyPort","8080"); // change the port
    Denis

  • I have a iphone 5 and I can login with my apple id to purchase music. However, when I try to login into icloud using the very same username and password that I use in the apple store it does not work to enter icloud, so what what gives???

    I have a iphone 5 and I can login with my apple id to purchase music. However, when I try to login into icloud using the very same username and password that I use in the apple store it does not work to enter icloud, so what what gives???

    I could do that, however when I select the icloud button (or whatever the heck it is) I am asked to enter the apple id and password. So if you are suppose to create another one for icloud you'd think it would give you the option at this point which would be logical.

  • Can I use the same icloud username and password for multiple phones?

    I have 6 iphones and wanted to use Apple Configurator to install the same apps on all 6 phones.  Some of the apps though, also require further installation by email.  Can I use the same iCloud username and password for all 6 phones to download the apps and also to configure email or do I need to create 6 different Apple IDs?

    If different people will be using these phones, you might be better off using the same Apple ID for the iTunes content...apps, music, etc. on each of these devices, but create different ID's for iCloud on each device. You can use one ID for the iTunes/App store, & a different ID for iCloud. That way, messages, notes, contacts, calendars, etc will be kept separate on each device.

  • HT4530 I just purchased an iMac and developed a user name and password.  I'm trying to install a program but can't because I forgot that information and didn't write it down.  How do I reissue a new username and password

    I just purchased an iMac and upon setting it up I initiated an username and a password.  Unfortunately I didn't write it down and now I'm trying to add software and the system won't let me because I forget that info.  How do I reissue a new usernam and password?

    Boot from your recovery partition by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the recovery desktop appears, select Utilities ▹ Terminal from the menu bar.
    In the Terminal window, enter “resetpassword” and press return. A Reset Password window opens.
    Select your boot volume if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Follow the prompts to reset the password.
    Select  ▹ Restart from the menu bar.
    You should now be able to log in with the new password, but you won't be able to unlock the Keychain. If you've forgotten the Keychain password (which is ordinarily the same as your login password), there's no way to recover it. You’ll need to reset your keychain in the preferences of the Keychain Access application.

  • How to get to see the usernames and passwords for wifi logins on iPad

    How to get to see the usernames and passwords for wifi logins on iPad. 

    You can't access that on an iPad. The iPad does not have a Keychain Access type app like the Mac has. Maybe an application like iExplorer on your Mac will let you see them, but you can't see them on the iPad itself.

  • How can I changed the system username and password

    How can I changed the system username and password
    Need help urgent

    Paolo,
    If I understand his requirement good (to have system user but must be called xxxx) then that's the option.
    Well, that's obvious...Sure, but sometimes we see complicated thing but not something what is obvious...
    Also your demonstration to OP how to change user password indicate that OP-level of knowing Oracle user management is such that OP maybe need help for something what is for you or me obvious...
    Cheers!
    Message was edited by:
    Faust

  • I couldn't access a website because I used an incorrect username and password.How do I reaccess with correct username and password. Thanks.

    Getting into Avenue5Consulting members only area, I mistakenly used my other username and password. A message came up asking if I wanted to save it and I pressed yes. This didn't open the site, but brought me back to login page. Realizing that I logged in with erroneous username and password, I checked and logged in again with the right username and password, but these were not accepted. Please help! I need to get back to the site to finish my homework!
    Will greatly appreciate your support.

    That issue can be caused by corrupted cookies.
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"
    *http://kb.mozillazine.org/Cookies
    *http://kb.mozillazine.org/Websites_report_cookies_are_disabled

  • How do I add a SITE, USERNAME, and PASSWORD to the list in - Tools/Options/Security/Saved Passwords ?

    How do I force Firefox to remember and use my username and password for a site ?

    #Tools -> Options -> Security - tick "remember passwords"
    #Log in to a website
    You should be asked to save the user name and password upon login.

  • How can I change the admin username and password

    how can I change the default admin adminadmin username and password for the server

    What version of Creator are you use?
    In Creator 2 Update 1, using Application Server version 8.2, you can do the following..
    1) Log into the Admin Console using the default UID/PWD
    2) Expand the tree view by following this path:
    Application Server > Configuration > Security > Realms > admin-realm
    3) Click on "Manage Users"
    4) Click on the UserID "admin"
    5) enter the new password that you would like
    6) Click on the "Save" button on the upper right side of the page.
    That should do it for you.
    Good luck

  • How to get weblogic logged in username and password in an MBEAN

    Hi,
    I have an MBEAN deployed under AdminServer. Want to establish a remote connection to credential Store MBean in base_domain using t3 protocol from this MBean, Which requires weblogic username password, port and host.
    What is the best way to get username and password,in an MBEans deployed in AdminServer at runtime.
    Thanks for your help in advance
    -Matz

    I don't think there is any way to get the password. What type of credential store is this and is it in the same domain?

  • How do I delete my Twitter username and password from iPhone 4?

    I upgraded to iOS5, and when i was setting it up I put in my username and password but I thought it was just for the App and not in the settings of the iPhone itself. Every time I delete the account under setting, it comes back! Why?
    I do not have the official Twitter app, I use Echofon.
    And every now and then my Twitter account comes back to the setting after i delete it. I really want it gone for good from the iPhone's setting.
    Can you please help me? And please provide instruction, they would be greatly appreciated. Thank you!

    Try this, I did it on an iBook that someone gave to me because it was slow.
    1. Reboot
    2. Hold apple key + s key down after you hear the chime. (command + s on newer Macs)
    3. When you get text prompt enter in these terminal commands to create a brand new admin account (hitting return after each line):
    mount -uw /
    rm /var/db/.AppleSetupDone
    shutdown -h now
    4. After rebooting you should have a brand new admin account. When you login as the new admin you can simply delete the old one and your good to go again!
    Apple stores wont reset it for you. Computer shops may charge you $50 to $200 trying to reinstall the Mac OS and failing at end.
    NOTE:  This will not work with the classic OS, only OS X.
    What this does is tricks the Mac into thinking that OS 10.? was just installed. It will play the intro video and then guide you through setting up your new account.

  • 802.1x without storing username and password

    I have a couple all-Mac schools that would like to begin integrating iPod touch and iPad in classroom activities.
    Our wireless network is managed at the district level and it offers to ways to log into the Internet – one is a popup window with a Java applet, and the other is 802.1x.
    Obviously the Java applet does not work on iPhone OS and I'm sure it never will. 802.1x works well with one caveat: It stores the username and password so whichever student uses it next will remain logged in as the previous student.
    Is there any way that the iPods can be forced to prompt for the 802.1x username and password each time they rejoin the network? Any other ideas?
    And before anyone asks, we have submitted requests to make the wireless network friendlier to non-traditional computing (ie. devices that are not standard PCs and Macs), but it doesn't look as if that's happening any time soon.
    Thanks!

    I don't store them, if it is a user and password. If the user entered them I keep them in instance variables. If you only have one user for the database (which is not the best IMHO) you should decrypt it in the code. The crypted can be stored whereever, but still not good.

  • Backup Without giving username and password

    Dear Friends,
    I am using Oracle 10g. I created a batch file to make export backup. In the batch file i have to mention username and password. Whereas i don't want to mention username and password so that nobody can see that. Is there any option to do the same?? I will be thankful.
    Command is below in the batch file
    exp stores/qwe321 owner='STORES' FILE=f:\data\newdata\ba_%fdate%.dmp STATISTICS=NONE
    Regards,
    Kamran

    If the database server is dedicated to supporting only the database then the only users with direct access to the server should be the System Administrators and the DBA's so the username appearing on the command line is not really an issue. But on system where this is not true it is an issue. If you are using traditional exp, as in the OP, then you can use the userid= parameter to supply the username and password and place the parameter in a parameter file, that is, exp parfile=some_file and this keeps the username/password off the command line so it cannot be seen via ps (UNIX show process command). Also via file permissions you can limit the users with access to using the parfile.
    A problem with OS authenicated usernames is that if you allow remote access to the database by OS authenicated users then anyone with control of a server can set up a user account with a name of an OS authenicated user defined to Oracle and then access Oracle via this account. Not allowing remote access limits the problem.
    HTH -- Mark D Powell --

  • HT1920 How can I recover my  iTunes Username and Password?

    Hello All,
    Kindly share with me how I might be able to recover my iTunes Username and Password?

    Was the Support Article you linked from not helpful ?
    Recovering a forgotten iTunes Store account name

Maybe you are looking for