• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mailing problem

 
rajanikanth bhagavan kanth
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
rajanikanth bhagavan kanth
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thnq for your reply Mark.
Can we restrict that one?


Regards
Bhagavna R
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I mean to say can we redirect that mail to inbox insted of spam??
 
Paul Clapham
Sheriff
Pie
Posts: 20971
31
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you mark.
 
rajanikanth bhagavan kanth
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanq all for good suggetions.
Thanks a lot
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by rajanikanth bhagavan kanth:
Thank you mark.


and Paul.

Mark
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic