Send a mail via smtp without authentication

Hello,
I'm developping a web application that reports errors or 'strange situations' to the application'a admin with an e-mail message to the address entered in a sort of wizard. I've read some tutorials and actually I'm able to send mail via smtp only with authentication, withouth i get this error: "530, Address requires authentication". How can i send mails without authentication?

Normally the administrator of those forums is also the administrator of the SMTP server they use, so they configure the server to accept requests from the forum software without authentication.
If you are running your own SMTP server you can do that too. If you are using somebody else's server you will have to follow their rules. You could always contact the administrator and ask whether you could be made exempt from authentication...

Similar Messages

  • Java mail api: SendFailedException when trying to send Mail via SMTP

    Hello,
    I'm trying to send a mail via java mail api using a server that requires smtp authentication.
    I'm currently using the following code:
    protocol = "smtp";
    host = "auth.smtp.profimailer.de";
    port = 25;
    String from="[email protected]";
    String to="[email protected]";
    props.put("mail.smtp.host", host);
    props.put("mail.smtp.auth", "true");
    Authenticator auth = new PopupAuthenticator();
    session=Session.getInstance(props,auth);
    MimeMessage message = new MimeMessage(session);
    message.setFrom(new InternetAddress(from,"[email protected]"));
    message.addRecipient(Message.RecipientType.TO,new InternetAddress(to,"ToName"));
    message.setSubject("Hello JavaMail");
    message.setText("Welcome to JavaMail");
    Transport.send(message);
    static class PopupAuthenticator extends Authenticator {
            public PasswordAuthentication getPasswordAuthentication() {
                return new PasswordAuthentication("e12345676", "mypass");
    }When trying to run this code, I get the following exception:
    D:\eclipse30RC1\workspace\ClassifyIt\bin>java -cp .;../lib/javamail.jar de.jwannenmacher.classify.TestMail > test.txt
    javax.mail.SendFailedException: Send failed;
    nested exception is:
    javax.mail.SendFailedException: Sender "[email protected]" <jens
    @jens-wannenmacher.de> was rejected: 501
    at javax.mail.Transport.doSend(Transport.java:223)
    at javax.mail.Transport.send(Transport.java:92)
    at de.jwannenmacher.mail.pop3client.POP3Client.getAllNewMessages(POP3Cli
    ent.java:176)
    at de.jwannenmacher.classify.TestMail.main(TestMail.java:22)
    Any suggestions on this?
    Thanks and best regards,
    Jens

    Hi,
    yes smtp is a standard and I think you could use this with almost every smtp server.
    If your smtp server doesn't require authentication you can access it without an authenticator
    I think...
    Best regards,
    Jens

  • I send mail via SMTP server with Hebrew text, and I get it gibberish on my iphone

    I send mail via SMTP server with Hebrew text, and I get it gibberish on my iphone

    What mail program from what kind of computer are you sending your email?  It sounds like an encoding problem that would have to be solved on the sending end.   If you want, send me an example of the kind of email which arrives as gibberish on your iphone (tom at bluesky dot org).

  • I have a problem sending mail via smtp. I use a satellite system and the average return time for a ping is 675ms. Is this a problem with mail? If so can I change Mail to accept it. The problem also exists with Lion

    I have a problem sending mail via smtp. I use a satellite system and the average return time for a ping is 675ms. Is this a problem with mail? If so can I change Mail to accept it. The problem also exists with Lion and on both my MacPro and my wife's Imac. I also see my mailboxes randomly disconnecting and reconnecting. Any other ideas of a possible cause?

    I solved it myself, after the "note" which came back from FF/Mozilla just as I finished my message, commenting on what it was that my system had , I wnnt back to check my plug-ins etc. I downloaded the latest Java, BOTH 32bit AND 64 bit versions and latest Firefox.
    Now all is working.
    Thanks,
    B.

  • Can't send e-mails via Mail with a Gmail e-mail address using Sky internet

    Can anyone help? My brother has an iBook G4 Mac OS X 4.1 and is trying to send e-mails via Mail with a Googlemail e-mail account. He is using Sky for his broadband. I assume it has something to do with his outgoing smtp e-mail Preferences in Mail, but for the life of me I can't figure it out. He can receive e-mails OK, its just that when he tries to send he gets the 'server can't send error'. Any ideas?

    Here's my gMail IMAP SMTP settings...
    smtp.gmail.com
    Port 25
    Authentication: Password
    SSL
    Sky may require another port to pass through...
    IMAP is port 143
    IMAP-SSL is port 993
    POP is port 110
    POP-SSL is port 995
    SMTP and SMTP-SSL is on ports 25, 587 and 465. Port 587 has to be SSL, and port 465 is enforced TLS-wrapped and is generally used by Outlook users.

  • Failed to send E-mail via microsoft OutLook

    Hi All,
    Does anybody knows why this message appears when I tried to send an email via out look, using the button email on the B1 menu bar.  i have selected the user name and the email address correctly, i have ticked the option send emiail using microsoft outlook.  then the following error message appeared
    "BO2069: Failed to send e-mail via Microsoft Out look"
    the connection was established between outlook and b1 using the logon function in outlook integration addon.
    thanks
    SV Reddy

    Dear,
    If my last answer could not solve your issue, please refer to the informaiotn below:
    The reported issue occurs due to the fact that outlook can only send attachments from the Business One attachments folder.
    This issue has been fixed in 2005A SP01 PL41. Please refer to the note 1116389. As a solution we would suggest to upgrade to the latest patch level.
    Until you upgrade to latest patch of 2005A SP 01 you can use the following workaround:
    - Manually copy all attachments to the B1 attachment path before sending this mail. If you create a shortcut to your attachments folder in a convenient location (perhaps the desktop) this can be done very quickly. (Browse to your document, right click and select copy, press the Windows Key+D to go to your desktop, double
    click the shortcut, then paste into the attachments folder.)
    Alternatively, you could either:
    - Change the B1 attachment path to your attachment files path.
    or
    - Uncheck 'Send E-mail via MS Outlook', and send this message. Nowthese attachments will be copied to the Business One attachment path.
    Then send this message again, with 'Send E-mail via MS Outlook' checked.
    Further we would suggest to apply following steps:
    -upgrade your MS Office 2003 application to the current SP. (SP3)
    -verify that the sender's e-mail address defined for the sender in SAP Business One is valid.
    -Set up the correct smtp server in SBO Mailer / General Setting /Mail Settings (you should check with a "Test connection" button)
    Wish the information could solve your issue.
    Regards
    Apple

  • I am unable to Send E-mail via Default mail app in my iphone. IOS7, i have account of icloud, Gmail, Microsoft all the account are well added, i can recieve e-mails but the massage i send is never sent

    I am unable to Send E-mail via Default mail app in my iphone. IOS7, i have account of icloud, Gmail, Microsoft all the account are well added, i can recieve e-mails but the massage i send is never sent

    Turns out this was a simple set up error for me, although i'd set up mobile me to sync my e mails I had never set up my outgoing message server. Therefore, if I received a message from me.com I could reply no problem, however if the message came from aol.com I couldn't reply.

  • When trying to send E-mail via AOL i get the message "rejected by the server because it does not allow relaying" I have checked settings as per answers to similar question

    When trying to send E-mail via AOL i get the message "rejected by the server because it does not allow relaying" I have checked settings as per answers to similar question

    From which account does the email not send?  When sending from an account, the iPad will first try to use the aoutgoing server for that account.  If it can't it will try the other accounts listed.in the setting on the iPad for that account.  It soulds like the server for the account is not working and that the alternate server is resjecting the messag since it did not originate ffrom the account associated with that server,  That is to prevent sending spam.

  • Is there any easy way to send free invoice via email without my credit info

    Is there any easy way to send free invoice via email without my credit info?

    Depends upon what you mean by 'it failed'. If it's that you are getting a message to contact iTunes Support then no, you will have to contact them (the 48 hours should be the maximum time that it takes for them to reply).

  • Unable to write and send e-mails via MSN, please help ASAP.

    Since a few days ago, using mozilla, I am unable to write and send e-mails via MSN.
    == This happened ==
    Every time Firefox opened
    == About 3 days ago.

    Also, and although possibly not related to your problem, I have to remind you that the version of Firefox you are using at the moment has been discontinued and is no longer supported. On top of this, it has known unpatched bugs and security problems. I urge you to update to the latest version of Firefox, for maximum security, stability, performance and usability. You can get it for free, as always, at [http://www.getfirefox.com getfirefox.com].

  • TS3899 My iphone has had problems sending e-mail via my 1&1 e-mail account

    My iphone has had problems sending e-mail via my 1&1 e-mail account for the last two days.  I get a 'recipient rejected by the server' message.  I have not changed any settings.  If I change the from address to i-cloud the e-mails go.  Advice please.

    i think you need to contact your email provider - that sounds like an issue on their end and nothing to do with your phone.

  • Issues sending iCloud mail via Mac Mail client

    I'm running OS X Yosemite and use the Mac Mail client to handle mail for my iCloud (mac.com), wish.edu, Gmail, and Outlook accounts.  All work fine and always have... until a few weeks ago.  I came to figure out that while sending email through my iCloud account will show up as a sent email in the sent folder (on my MacBook Pro as well as the web interface and IOS devices) the messages do not get received on the other end.  No error messages.  No returns.  Everything looks normal on my end but the emails never get delivered.
    I logged out of iCloud and logged back in.  I checks the outgoing server info and passwords. I restarted (a lot).  When I run tests, emails sent from the Mac Mail client on my laptop don't get there.  They do get received when sent via the iCloud web interface as well as from my iPhone and iPad.  I even downloaded PostBox and set it up with the exact same settings as Mac Mail, and it sends the iCloud mail just fine.
    This is driving me nuts.  I love Mac Mail, and have used it for years.  I don;t want to have to abandon it for this.  Help?

    Hi All,
        I have a requirement where i have to send the Pdf format of the billing document as a mail to the customer. And my client wants to send the mail via outlook so that they can modify the body content for each mail. Right now i have achieved the functionality of sending the mail with Pdf attachment form SAP.
    Can anyone please help me by providing some information about how to send mail from SAP via Outlook.
    Thanks!
    Praveenkumar T.

  • Configuring mail priority when sending mails via SMTP from ECC 6.0 system

    hi all,
    we have the problem, that mails which we send via SMTP out of ECC 6.0 system
    reach our SMTP server with very low priority. So the server usualy send them in the evening.
    Is there a possibility to configure global priority for mails?
    best regards
    Davor

    Goto SCOT transaction, double click on STMP you will find the option
    Maximum waiting time for repeat send attempt procedure:
    Hours/minutes       / 30. define the time over there.
    II option execute the job- start send process,
    Regards,
    Mahesh

  • Configure SMTP without authentication to share photo by email

    I'm not able to share photo by email using a SMTP server without authentication.
    Can anyone tell me how to configure an account without authentification?
    Regards,
    Frederic

    Is your Outlook version compatible with Mountain Lion? To be used from other Applications as Mailer it nneds to sandboxed, see this thread.
    Re: since update I can not send pitures via outlook or apple mail please help
    I do not think, there is a version of Outlook right now, that can be used to mail from Aperture. Use "Mail.app" instead.
    I do not know, what may be wrong with Facebook upload. The update to 3.4.1 should have fixed the Facebook access problems.
    Regards
    Léonie

  • Unable to send Yahoo mail via Apple Mail

    Hi all,
    I am unable to send mail via a yahoo plus account. My out going server is smtp.mail.yaho.com. SSL is selected. Server port is 25. I have tried to change authentication to "password", but it stays as none.
    POP functionality works fine.
    Thanks in advance for your assistance.

    Hello Foster.
    Where did you get the Yahoo Mail Plus account setup information?
    I didn't see any reference on Yahoo's website to use SSL for the SMTP server.
    I copied the following account settings from Yahoo's website:
    Here are the basic server settings for Yahoo! Mail:
    Incoming Mail (POP3) Server: pop.mail.yahoo.com
    Outgoing Mail (SMTP) Server: smtp.mail.yahoo.com (use authentication, optionally use port 587)
    Account Name/Login Name: your Yahoo! Mail ID (your email address without the "@yahoo.com")
    Email Address: your Yahoo! Mail address (e.g., [email protected])
    Password: your Yahoo! Mail password
    I have tried to change authentication to "password",
    but it stays as none.
    After selecting Password for the SMTP server authentication and entering your Account or User Name and the account's password, are you selecting OK afterwards to save the changed settings?

Maybe you are looking for