How To Send Email Without using password

Hi Everyone
I have Requirement like the one below
1)i have to send emails without authentication is it possible? If yes please give me sample code

1)i have to send emails without authentication is it possible?It is possible if the mail server you are connecting to doesn't require a password. This is most* unlikely.
If yes please give me sample codeJust don't set the password, this is not rocket science.

Similar Messages

  • Send email without using sender id

    Hi all,
    Is it possible to send email without using sender id?
    Thanks in advance

    nvv wrote:
    I m not asking this for spam. Actualy I m developing software that sends mail to many contacts. If i use sender address then they can use others like gmail, yahoo, or something like that instead.Sounds like spam software to me.

  • Send email without set password ?

    Why i can send email with javax.mail just only set username??? no password required?

    you need to use SMTP AUTH to avoid this
    or what you can do is to do some setting on your mail relay to allow only certain IP address for logging on to ur mail server

  • [Request For Help] How To Send Email Midlet Using Secure Socket ?

    Hello, this is the first time i ask for help to forum.sun.com.
    i try to make secure connection for send email from MIDlet. Maybe you can check to my code :
    EmailMidlet.java
    import javax.microedition.midlet.MIDlet;
    import javax.microedition.midlet.MIDletStateChangeException;
    import javax.microedition.lcdui.;
    public class EmailMidlet extends MIDlet implements CommandListener{
    Display display = null;
    // email form fields
    TextField toField = null;
    TextField subjectField = null;
    TextField msgField = null;
    Form form;
    static final Command sendCommand = new Command("send", Command.OK, 2);
    static final Command clearCommand = new Command("clear", Command.STOP, 3);
    String to;
    String subject;
    String msg;
    public EmailMidlet() {
    display = Display.getDisplay(this);
    form = new Form("Compose Message");
    toField = new TextField("To:", "", 50, TextField.EMAILADDR);
    subjectField = new TextField("Subject:", "", 15, TextField.ANY);
    msgField = new TextField("MsgBody:", "", 90, TextField.ANY);
    public void startApp() throws MIDletStateChangeException {
    form.append(toField);
    form.append(subjectField);
    form.append(msgField);
    form.addCommand(clearCommand);
    form.addCommand(sendCommand);
    form.setCommandListener(this);
    display.setCurrent(form);
    public void pauseApp() {
    public void destroyApp(boolean unconditional) {
    notifyDestroyed();
    public void commandAction(Command c, Displayable d) {
    String label = c.getLabel();
    if(label.equals("clear")) {
    destroyApp(true);
    } else if (label.equals("send")) {
    to = toField.getString();
    subject = subjectField.getString();
    msg = msgField.getString();
    EmailClient client = new EmailClient(this,"[email protected]", to, subject, msg);
    client.start();
    }and EmailClient.java
    import javax.microedition.io.;
    import javax.microedition.lcdui.;
    import java.io.;
    import java.util.Date;
    public class EmailClient implements Runnable {
    private EmailMidlet parent;
    private Display display;
    private Form f;
    private StringItem si;
    private SecureConnection sc; //SSL
    private InputStream is;
    private OutputStream os;
    private String smtpServerAddress = "smtp.gmail.com"; //SSL
    String from;
    String to;
    String subject;
    String msg;
    public EmailClient(EmailMidlet m, String from, String to, String subject, String msg) {
    parent = m;
    this.from = from;
    this.to = to;
    this.subject = subject;
    this.msg = msg;
    display = Display.getDisplay(parent);
    f = new Form("Email Client");
    si = new StringItem("Response:" , " ");
    f.append(si);
    display.setCurrent(f);
    public void start() {
    Thread t = new Thread(this);
    t.start();
    public void run() {
    try {
    //SSL
    sc = (SecureConnection)
    Connector.open("ssl://"smtpServerAddress":465"); //smtp with SSL port 465
    sc.setSocketOption(SocketConnection.LINGER, 5);
    is = sc.openInputStream();
    os = sc.openOutputStream();
    os.write(("HELO there" "\r\n").getBytes());
    os.write(("EHLO" "\r\n").getBytes());
    os.write(("auth login" "\r\n").getBytes());
    os.write(("dHVnYXNha2hpci50cmlhZGl0eWFAZ21haWwuY29t" "\r\n").getBytes());
    os.write(("dGEuZW1haWxjbGllbnQ=" "\r\n").getBytes());
    os.write(("MAIL FROM:<">\r\n").getBytes());
    os.write(("RCPT TO:<">\r\n").getBytes());
    os.write("DATA\r\n".getBytes());
    // stamp the msg with date
    os.write(("Date: " new Date() "\r\n").getBytes());
    os.write(("From: "+from"\r\n").getBytes());
    os.write(("To: "to"\r\n").getBytes());
    os.write(("Subject: "subject"\r\n").getBytes());
    os.write((msg+"\r\n").getBytes()); // message body
    os.write(".\r\n".getBytes());
    os.write("QUIT\r\n".getBytes());
    StringBuffer sb = new StringBuffer();
    int ch = 0;
    while((ch = is.read()) != -1) {
    sb.append((char) ch);
    si.setText("SMTP server response - " + sb.toString());
    } catch(IOException e) {
    e.printStackTrace();
    Alert a = new Alert
    ("TimeClient", "Cannot connect to SMTP server. Ping the server to make sure it is running...", null, AlertType.ERROR);
    a.setTimeout(Alert.FOREVER);
    display.setCurrent(a);
    } finally {
    try {
    if(is != null) {
    is.close();
    if(os != null) {
    os.close();
    if(sc != null) {
    sc.close();
    } catch(IOException e) {
    e.printStackTrace();
    public void commandAction(Command c, Displayable s) {
    if (c == Alert.DISMISS_COMMAND) {
    parent.notifyDestroyed();
    parent.destroyApp(true);
    } When I try to debug project from netbeans, i found this error :
    Starting emulator in debug server mode on port 2668
    Connecting to 127.0.0.1 on port 2800
    nbdebug:
    Waiting for debugger on port 2668
    Waiting for KVM...
    Running with storage root temp.SonyEricsson_JP8_128x160_Emu10
    KdpDebugTask connecting to debugger 1 ..
    Running with locale: Indonesian_Indonesia.1252
    Connected to KVM
    Connection received.
    Attached JPDA debugger to localhost:2668
    java.io.IOException: error 10054 during TCP read +
    at com.sun.midp.io.j2me.socket.Protocol.nonBufferedRead(Protocol.java:299)+
    at com.sun.midp.io.BufferedConnectionAdapter.readBytes(BufferedConnectionAdapter.java:99)+
    at com.sun.midp.io.BaseInputStream.read(ConnectionBaseAdapter.java:582)+
    at com.sun.midp.ssl.Record.rdRec(+41)+
    at com.sun.midp.ssl.Record.rdRec(+5)+
    at com.sun.midp.ssl.In.refill(+18)+
    at com.sun.midp.ssl.In.read(+29)+
    at EmailClient.run(EmailClient.java:74)+
    Execution completed.
    5145824 bytecodes executed
    9258 thread switches
    1762 classes in the system (including system classes)
    0 dynamic objects allocated (0 bytes)
    0 garbage collections (0 bytes collected)
    debug:
    BUILD SUCCESSFUL (total time: 4 minutes 34 seconds)
    Regard
    Littlebro

    Don't multipost and don't use the browser's back button to edit your posts as that creates multiple postings. I've removed the other thread you started with the same questio.
    Also, don't post to long dead threads. I've blocked your post and locked the thread you resurrected.
    db

  • TS3899 How to send emails without wifi

    i can't send email with wifi

    Open the notes app. Find the note you want to send and tap on it.
    On the bottom you'll see some options, Tap on the square with the right arrow, then you'll be provided the option to Email, if you have an email account setup.

  • How do I remove an iCloud account without using password?

    How do I remove an iCloud account without using password?

    There is no way if Find my iPhone is turned on. You must know the Apple ID and password. This is Activation Lock, an antitheft feature of iOS 7. See: http://support.apple.com/kb/HT5818

  • How to send meeting invites using Exchange Email Account

    Does anybody know how to send meeting invitations using the 3.0 software update?
    My corporate email is set up with an Exchange ActiveSync account, but I can't figure out how to send meeting invites?
    Is it a function solely of the iPhone 3.0 OS, or is it dependent on the Exchange setup.
    Any insight would be appreciated.
    David

    That is what I was afraid of...the good thing is that is the only feature (besides battery life) that I miss from my Blackberry. Thanks.

  • HT5621 How do I change my apple id email without a password

    How do I change my apple id email without the password? I really need help.

    You don't. You'll need the password to that Apple ID to get in and make any changes to the account. If you've forgotten the password, go here:
    https://iforgot.apple.com
    Regards.

  • How to send emails using Automatic Work Items in Collections using XML Publ

    Hi,
    We are using XML Publisher to send correspondances in Advanced Collections.
    We want to send email correspondances using Automatic Strategy Work Items.
    Can anybody please help on how to send these?

    I believe you have to define your dunning template and assign that template to the strategy work item.
    Let me know if you are still not able to do it.
    Thanks,
    Anil

  • I want to access my email without using a password

    On my new 5S I can not get my email without a password.  I don't want to have to put a password in to access my emails.  How can I correct this?  I've already gone to general settings / Touch ID & Passcode and turned passcode off.  Please help!

    What are you referring to when you say you have to put in a password to access mail. All mail accounts require a username and password to access the account, however you should not have to enter that each time you access mail. What exactly are you seeing when you try to get mail?

  • How to send emails to Multiple Users from a Single People Picker lookup field using Sharepoint designer workflow

    Hi All,
    I am working with SharePoint 2013 designer workflow. we are using office 365.
    Our requirement to send email to multiple users, get the user groups from lookup list people and groups column.
    But SP designer sending emails to the first user alone.
    Please guide me to proceed.
    Advance Thanks.
    Regards
    Jenkins NS
    Thanks and Regards Jenkins

    finally I got a solution
     Identified a workaround to solve the issue using SharePoint designer.
    Step 1
    Create a lookup list Example department
    Columns
    Title (by default) – Single line of text
    Users – Person or Group
    Emails – Multiple lines of text
    hidden the Emails column (go to content type and set the column as hidden)
    Create a SharePoint designer Workflow
    Start Workflow automatically when an item is created
    Also Start Workflow automatically when an item is changed
    Workflow Stage 1
    Set Emails to current Item: Users
    The workflow will get all users email ids and add in the Emails column delimiter as semicolon.
    Step 2
    Create a custom list to get the email ids and send email
    Create a lookup column ex: analysis and refer department list, Allow multiple values
    Then Create a SharePoint designer workflow
    full details workflow steps please follow below
    URL
    http://jenkinsblogs.com/2015/04/30/how-to-send-emails-to-multiple-users-from-lookup-list-people-picker-field-using-sharepoint-designer-workflow/
    Thanks and Regards Jenkins

  • HT4061 I bought my mom an iPad for Christmas this year.  We can't use it as it will not recognize her passwords.  How do I reset it without using passwords.  I want this thing wiped clean, just like it came from the store so that I might start over.

    I bought my mom an iPad for Christmas this year.  We can't use it as it will not recognize her passwords.  How do I reset it without using passwords.  I want this thing wiped clean, just like it came from the store so that I might start over.  This is very frustrating!

    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    You may have to do this several times.
     Cheers, Tom

  • Apex 4: How to send email when form is submitted?

    Hi,
    Using Apex 4.0.2 on DB 11g, I've a form with around 80 fields and 4 check boxes.
    When the user clicks on submit button, besides saving the values in the database I also have to send emails. Selection of the 4 check boxes decides whom the email has to go to, i.e if 2 check boxes are checked, send 2 emails.
    In the emails, some contents will be based on the data the user has filled and some from the database; also data in different emails will be different.
    From what I've read, to send email I've to use APEX_MAIL API and make a conditional process depending on the check boxes selected. Also that I have configure mail server in database and that mail sever has to accept autonomous user (i.e. sending email without password)
    Is this the right approach?
    How can I do this?
    Is there any example/tutorial that will guide me in doing this?
    Thank you for your time.

    The Apex email package is very simple.
    v_id := apex_mail.send(
              p_to        => v_to,
              p_from      => v_from,
              p_subj      => v_subject,
              p_body      => v_body,
              p_body_html => v_html);It's up to you how you get the values of the variables.
    Also that I have configure mail server in database and that mail sever has to accept autonomous userThe mail server is not in the database, but you do have to inform Apex which server to use (smtp.yourcompany.com).
    Most smtp servers require user and password. In that case you have to write your own procedure. Search the pl/sql forum for email authentication and you will find many examples.
    It is probably also possible to configure the smtp server in such a way that requests coming from the database do not need authentication. That is how we have it configured (but I don't know how the administrator did it, though).

  • Is there a way to send email without opening Mail.app?

    Hello,
    I would like to be able to send email using either an Applescript or a shell script that would send email without opening Mail.app. The ideal solution would be using an account and settings (such SSL encryption of my password) that are stored in mail.app. However, if that is not possible, I could set up another email account to be used just for the purpose I have in mind so I don't have to worry about my password being exposed in clear text.
    I've seen Applescripts that open Mail.app and then hide it in the background but the key requirement for my particular need is that Mail.app never open during the send process. I synchronize my email between my iMac and my Powerbook using Chronosync so it is critical that none of the files that store or index the actual mail in Mail.app be opened so as not to alter their modification dates.
    Thank you,
    James

    If you upgrade to 10.4 there is a widget that will let you compose and send mail without opening Mail.
    Here's two other options.
    1. Does your isp have a web based email?
    2. Download a program like thunderbird for email. When you configure it end phony information for incoming mail and only fill in the correct infor for outgoing mail.

  • Send email without opening mail app

    Hi
    So how can I send email without opening mail app.
    From: Overview of requested additional functionality, Ayuba Audu
    Hi Peter,
    There are a couple of services available that support sending emails via REST API calls. Of course, each such service requires a WADL connector to be created, but by taking advantage of resources such as the early alpha of our
    WADL Generator, along with
    our documentation, one will be enabled to do this.
    This way you do not need to have the Mail application available, on the machine the app is running on.
    Thanks.
    Hi Ayuba
    I guess the comment above was mentioned for this thread. If so can you please share a simple example file here or anywhere elese?
    Thanks

    Basically all I'm trying to do is to build an app for multiple users in one company. Each employer (user) is stored in collection with their password and email address. To get access to man screen of the app, employee must login in login screen. Chose his
    name and type the password. I want to add a button for forgotten password so in case one of the employee would forget his password he can click on the button and receive on his email his password. The email what he will get would be for example from
    [email protected] with mail body : your password is 12345.
    So is that what you meant I can do with WADL generator?

Maybe you are looking for

  • Need to add a field in standard transaction 'fs00'

    hi, can any one suggest me how to add a new field in the standard transaction 'fs00' under the field company code... thanks &regards' prajwala.

  • Class to jar communication at run time

    Hi, I am developing a application using jdk 1.4 and have following query: I have an application that displays some information in various languages (according to the language selected), i.e english, french, german etc. Say I select english, the appli

  • How to use WebRowSet to convert to XML??

    Dear all, I have a ResultSet, but I how can I use WebRowSet to convert it to XML? Greatly appreciated if anybody can giveme a clue. Thank you Kevin

  • Workflow - RFC Status  -- User is locked

    Hi , experts I prepared a  workflow and  tested it with   PFTC_DIS transaction.           there was no problem .But when i trigered this workflow event in my program , workflow not worked. I used SWEL and SWELS programs to traced it. The list is belo

  • MP will not boot from CD

    I'm trying to upgrade to SL from Tiger but the system will not boot from the CD. It reconizes the cd And launchs giving the install option. When install is selected I get a screen with only a restart option. After restart it comes back to the origina