EmailDiscussions.com  

Go Back   EmailDiscussions.com > Email Service Provider-specific Forums > Google Gmail Forum
Register FAQ Members List Calendar Today's Posts
Stay in touch wirelessly

Google Gmail Forum Discussions related to Google's Gmail service should go here: suggestions, tips, comments, requests for help, tech issues etc.

Reply
 
Thread Tools
Old 21 Jun 2008, 04:17 AM   #1
beg33k
Junior Member
 
Join Date: Jun 2008
Posts: 3
Messages not copied in outbox using SMTP gmail server

Hi,

When I send automatically mails from my website using gmail SMTP, I can see those mails in the outbox.

But if I send mails to my members from a cron job, I cannot see those mails sent in the outbox.

Has anyone an idea why ?

Thank you for any help!
beg33k is offline   Reply With Quote

Old 21 Jun 2008, 05:41 AM   #2
Boz
Junior Member
 
Join Date: Apr 2002
Posts: 20
I'm not positive of what "send mails to my members from a cron job" means, but are you positive that you are using GMails SMTP server to send them?
Boz is offline   Reply With Quote
Old 21 Jun 2008, 05:46 AM   #3
sinan
Essential Contributor
 
Join Date: Jun 2003
Location: Turkey
Posts: 230
It seems the sendmail or similar (exim, postfix, etc.) program on the computer which is sending the messages through the cron job does not use Gmail SMTP servers. You should give more information about the system before anyone can help you. Everything depends on which mail system the server is using. You should configure it so that it sends (relays) outgoing messages through your Gmail account SMTP server (authenticated SMTP).
sinan is offline   Reply With Quote
Old 21 Jun 2008, 09:58 AM   #4
beg33k
Junior Member
 
Join Date: Jun 2008
Posts: 3
Hello everyone!

I noticed that I didn't configure well my CRON job and didn't use gmail's SMTP to send messages.
Well I wonder what SMTP I used then !!

Thank you for the kind help!
beg33k is offline   Reply With Quote
Old 21 Jun 2008, 10:12 AM   #5
David
Ultimate Contributor
 
Join Date: Dec 2001
Location: Canada.
Posts: 10,355
Quote:
Originally Posted by beg33k View Post
Hello everyone!

I noticed that I didn't configure well my CRON job and didn't use gmail's SMTP to send messages.
Well I wonder what SMTP I used then !!

Thank you for the kind help!
I think that CRON will use Sendmail (or whatever mailserver is installed) if nothing is specified specifically.
David is offline   Reply With Quote
Old 21 Jun 2008, 05:51 PM   #6
CyberSmurf
 Moderator 
 
Join Date: Nov 2001
Location: British Columbia
Posts: 4,011
http://en.wikipedia.org/wiki/Cron
Quote:
cron is a time-based scheduling service in Unix-like computer operating systems. The name is derived from Greek chronos (χρόνος), meaning time.
I had to look it up.
CyberSmurf is offline   Reply With Quote
Old 21 Jun 2008, 06:57 PM   #7
beg33k
Junior Member
 
Join Date: Jun 2008
Posts: 3
I have an additional question (not really related to Gmail) for which nobody can help elsewhere ...

I send automatically mails from my webserver to my registered members (for example after registration I send an activation link to activate account).

Recently one member complained that instead of newlines he gets =0A characters. So mail is hard to read without newlines and these characters and of course the activation link is broken ...
In my Gmail inbox everything is ok
( His email ends with @slb.com )

I don't know what to do about this issue,
Thank you for any help if you have any idea and sorry it's off-topic!
beg33k is offline   Reply With Quote
Old 22 Jun 2008, 02:07 PM   #8
Boz
Junior Member
 
Join Date: Apr 2002
Posts: 20
Quote:
Originally Posted by beg33k View Post
Hello everyone!

I noticed that I didn't configure well my CRON job and didn't use gmail's SMTP to send messages.
Well I wonder what SMTP I used then !!

Thank you for the kind help!
You're welcome. I'm glad I could help.
Boz is offline   Reply With Quote
Old 28 Jun 2008, 05:20 AM   #9
sinan
Essential Contributor
 
Join Date: Jun 2003
Location: Turkey
Posts: 230
Quote:
Originally Posted by beg33k View Post
Recently one member complained that instead of newlines he gets =0A characters. So mail is hard to read without newlines and these characters and of course the activation link is broken ...
In my Gmail inbox everything is ok
( His email ends with @slb.com )
=0A is the MIME quoted-printable encoding of a newline. Either the message is incorrectly encoded, or (more likely) his client does not support MIME, or MIME is disabled in his configuration. If you send the message source, someone can tell you which is the case.
sinan is offline   Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +9. The time now is 01:41 PM.

 

Copyright EmailDiscussions.com 1998-2022. All Rights Reserved. Privacy Policy