aspose file tools*
The moose likes Other Application Frameworks and the fly likes Mailing problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Mailing problem" Watch "Mailing problem" New topic
Author

Mailing problem

rajanikanth bhagavan kanth
Ranch Hand

Joined: May 20, 2008
Posts: 78
Hi,

I'm sending mails through spring api[i.e org.springframework.mail.MailSender]
In that im sending mail from gmail to gmail,here mail is sending properly to mentioned mail id but that mail is sent to spam folder.can we restrict that ??

Please help me regarding this.

Regards
Bhagavan R
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17259
    
    6

Well the Spam part is Google GMail looking at the contents of you email and determining that it is Spam. So it isn't a Spring issue.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
rajanikanth bhagavan kanth
Ranch Hand

Joined: May 20, 2008
Posts: 78
Thnq for your reply Mark.
Can we restrict that one?


Regards
Bhagavna R
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17259
    
    6

Originally posted by rajanikanth bhagavan kanth:
Thnq for your reply Mark.
Can we restrict that one?


Regards
Bhagavna R


What do you mean by restrict? and "one"?

Mark
rajanikanth bhagavan kanth
Ranch Hand

Joined: May 20, 2008
Posts: 78
I mean to say can we redirect that mail to inbox insted of spam??
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18902
    
    8

No. Each server will decide for itself, when it receives a message, whether it considers that message to be spam. If it does, then into the spam folder it goes. That's what Google's server is doing.

Surely you didn't think there was a header or something like that to say "This is not spam". If you think about that for a bit -- particularly from other people's point of view -- you will see how absurd that is.

Anyway, that said, there are things you can do to make your message look less like spam. I don't recall specifically what they are, but I suggest you search them out.
rajanikanth bhagavan kanth
Ranch Hand

Joined: May 20, 2008
Posts: 78
Thank you mark.
rajanikanth bhagavan kanth
Ranch Hand

Joined: May 20, 2008
Posts: 78
Thanq all for good suggetions.
Thanks a lot
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17259
    
    6

Originally posted by rajanikanth bhagavan kanth:
Thank you mark.


and Paul.

Mark
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17259
    
    6

Originally posted by rajanikanth bhagavan kanth:
I mean to say can we redirect that mail to inbox insted of spam??


Lets hope the spamming people never learn any trick to do that, because I sure don't want real spam showing up in my inbox. If it was possible, we, the people, would be in a real hurt. Actually I would go as far as saying, I wouldn't use email anymore if spammers could just send stuff to my inbox.

It is that reason why there is no way from your end that you can force an email to go to the inbox of any recepient.

Mark
rajanikanth bhagavan kanth
Ranch Hand

Joined: May 20, 2008
Posts: 78
Hi now we are facing another problem.Using springframework im able to send mails to gmail to gmail only.If im trying to send the mails to yahoo or hotmail im not getting any errors and also im not getting emails.
Can you please suggest me to proceed further.

Regards
Bhagavan R.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17259
    
    6

Originally posted by rajanikanth bhagavan kanth:
Hi now we are facing another problem.Using springframework im able to send mails to gmail to gmail only.If im trying to send the mails to yahoo or hotmail im not getting any errors and also im not getting emails.
Can you please suggest me to proceed further.

Regards
Bhagavan R.


Did you check the spam folder on those sites?

Mark
rajanikanth bhagavan kanth
Ranch Hand

Joined: May 20, 2008
Posts: 78
Yes i checked in spam and all other folders also but i didnt get any mails.
Please suggest me the solution

Regards
Bhagavan R
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17259
    
    6

Can you post only the stuff that is different in your code from sending out to yahoo or hotmail, versus sending out to gmail.

Mark
rajanikanth bhagavan kanth
Ranch Hand

Joined: May 20, 2008
Posts: 78
Hi,

There is no difference in code , just im changing the email id like xyz@gmail.com to abcd@yahoo.com

in props file
raf.mail.host= localhost

in xml file


Its working fine for gmail but its not working for yahoo mail.
It is not giving any error message or any exception.But we are not reciving any mails to given id.I checked in spam folder also.

Am i need to change anything for yahoo mail id's?

hope im clear.Let me know if i'm worng.

Regards,
bhagavan R.
[ December 05, 2008: Message edited by: rajanikanth bhagavan kanth ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Mailing problem