Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2011
    Posts
    3
    Rep Power
    0

    Default javamail in spring sending mail with empty from address to yahoo and gmail

    i am using org.springframework.mail.javamail.JavaMailSender; for mail sending,
    it send emails fine to outlook and hotmail, but send email with empty from addresss in yahoo and gmail, any idea why???

  2. #2
    Petr's Avatar
    Petr is offline Senior Member
    Join Date
    Jan 2011
    Location
    Russia
    Posts
    620
    Rep Power
    4

    Default Re: javamail in spring sending mail with empty from address to yahoo and gmail

    Some email servers does not allow to send emails with empty address. It is security rules. You must to full there fields every time.
    Skype: petrarsentev
    http://TrackStudio.com

  3. #3
    Join Date
    Sep 2011
    Posts
    3
    Rep Power
    0

    Default Re: javamail in spring sending mail with empty from address to yahoo and gmail

    thanks for reply, yes, as I said it sending correct emails to outlook and hotmail, mean its showing the from email correctly. the problem is only for hotmail and gmail.

  4. #4
    Petr's Avatar
    Petr is offline Senior Member
    Join Date
    Jan 2011
    Location
    Russia
    Posts
    620
    Rep Power
    4

    Default Re: javamail in spring sending mail with empty from address to yahoo and gmail

    Do you have a problem like this smtp;551 This is not a relay host?
    Skype: petrarsentev
    http://TrackStudio.com

  5. #5
    Join Date
    Sep 2011
    Posts
    3
    Rep Power
    0

    Default Re: javamail in spring sending mail with empty from address to yahoo and gmail

    no,i actually dot not get any message, the mail just delivers successfully but when it reaches to gmail or yahoo, its empty in case of yahoo and (unknown sender) in case of gmail.

  6. #6
    arunsankar is offline Member
    Join Date
    Oct 2011
    Posts
    3
    Rep Power
    0

    Default Re: javamail in spring sending mail with empty from address to yahoo and gmail

    hi,
    can i know are you configuring any parameter for from address and i will appretiated if you can tell me whether your from address mail is a local server or gmail, yahoo server mail.

Similar Threads

  1. Replies: 0
    Last Post: 07-29-2010, 01:06 PM
  2. JavaMail and Gmail
    By khushbu in forum NetBeans
    Replies: 14
    Last Post: 05-23-2010, 05:49 PM
  3. Replies: 1
    Last Post: 02-17-2010, 06:28 AM
  4. How to access yahoo/gmail/hotmail address book
    By shahinengg in forum AWT / Swing
    Replies: 3
    Last Post: 11-23-2009, 11:14 PM
  5. Sending mail Using JAVAMAIL
    By peiceonly in forum Advanced Java
    Replies: 3
    Last Post: 07-19-2007, 02:11 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •