Mail help please!

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Re: Mail help please!

Postby sharpnova » 17. April 2010 12:22

Nobbie wrote:This is nonsense, EITHER use sendmail_path OR SMTP + smtp_port. There is no such wrong example in this thread.


As I've stated, I have almost no understanding of this stuff.

Based on my files, which method am I using? SMTP or sendmail. All I really understand is that I'm somehow using Gmail as an external mailserver.

I'd like to know exactly what I'm doing here.. so I can at least edit my post so it isn't misleading to someone else looking for a solution to this problem. (Which I'm assuming from the tone of your post is your concern as well)
sharpnova
 
Posts: 15
Joined: 05. March 2009 23:29

Re: Mail help please!

Postby Nobbie » 17. April 2010 13:11

sharpnova wrote:As I've stated, I have almost no understanding of this stuff.


You should only copy&paste the contents of this thread and the examples.

sharpnova wrote:Based on my files, which method am I using? SMTP or sendmail.


If you are using sendmail.exem you use sendmail.

sharpnova wrote:I'd like to know exactly what I'm doing here.


There is only one way: reading and learning. Remember my very first remark on this problems in this thread:

Sending mails is not an easy thing. You must have quite a knowledge how mailservers are working.


I cannot help you out of that, IT IS REALLY DIFFICULT.
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Re: Mail help please!

Postby trejder » 21. November 2010 07:18

Nobbie wrote:This works perfectly for me, but remind, that all mails you are sending via PHP now are coming "From: myuser@googlemail.com" (you cannot supply a different FROM: clause, even if you do so, it's overwritten).

As far as I know now, this is not true! I have set different from and user clauses in my sendmail.ini and got a whole bunch of error messages in log saying:

Code: Select all
Nov 21 07:13:54 host=xxx tls=on auth=on user=xxx from=lanch@localhost recipients=xxx smtpstatus=554 smtpmsg='554 5.7.1 Sender address rejected' errormsg='envelope from address lanch@localhost not accepted by the server' exitcode=EX_DATAERR

So, it seems that sendmail IS RESPECTING differences between from and user and is not overwriting one over another.
trejder
 
Posts: 68
Joined: 13. April 2008 06:45

Re: Mail help please!

Postby Nobbie » 21. November 2010 12:02

trejder wrote:So, it seems that sendmail IS RESPECTING differences between from and user and is not overwriting one over another.


You are barking up the wrong tree - the substitution of FROM-Clause is not done by sendmail, but by Googlemail if and only if you are using Google SMTP with Authorizing for the delivery. You should read the whole thread in order to understand how this was ment.

And: there are different sendmail implementations, this thread cares about the Windows sendmail fake programm delivered with Xampp.
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Previous

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 127 guests