Problems, need help? Have a tip or advice? Post it here.
4 posts Page 1 of 1
Hi,

When I send an email and I look in the log file, i see 'Delivery Success'. But when I look in my mailbox, nothing is there.

Some details: it's not on a localhost, it's send to my gmail account, the sender is the mail address from the user and when I use the alternative method (K_USE_ALTERNATIVE_MTA), it takes an awfull lot of time to send + the mail arrives, but in my spam folder because the sender is unknown...

Can anyone help?

Thx,
Antflow
Hi Antflow,

It is possible that your host is configured not to allow outgoing emails with 'from' set to an untrusted domain.

Please try using an address that belongs to your site's domain as the 'from' parameter (you can set the visitor's address as the 'reply_to' parameter so you can easily reply). For example -
Code: Select all
<cms:send_mail from='contact@yourdomain.com' to='antflow@gmail.com' reply_to=frm_email >
..
</cms:send_mail>

Please let us know if this helps.
Thanks.
Hi KK,

The receiving addres is info@mydomain.com and if I set the 'from' to a fixed address to my site it would be the same one. Or should I make a second one like for example contact@mydomain.com?

I tested the 'reply_to', but it's not working. It still replies to the 'from' address.

Thanks,
Antflow
You can have the same address for the sender as well as the receiver (the point is to use an address of the server's domain. You mentioned earlier that you are sending to a Gmail account which won't work as the sender).

Please switch back to the normal email sending method from the alternative you are using currently - the 'reply_to' should work.

Do let us know if this works.
4 posts Page 1 of 1