Closed Zalarox closed 3 years ago
Hello -
email-out
to the email-in
exchange?Hi @lukebakken - thanks for the response!
Erlang Version: OTP 20.2 I'm attaching the RabbitMQ configuration and server logs as a zip file to this response.
Forgive me if I'm missing out on something here but isn't this line binding the email-out queue to the email-in exchange? Perhaps I'm doing something wrong with the routing keys?
channel.queue_bind(exchange='email-in', queue='email-out', routing_key='me@example.com')
Thanks once again for your help!
My guess is that this is due to the fact that you are not defining an SMTP relay. You still have the following in your configuration file:
{relay, "smtp.example.com"}
Hi, I'm new to rabbitmq and am trying to set up a very basic flow to send an email to an external domain.
RabbitMQ 3.7.2 with rabbitmq_email-0.2.0 and gen_smtp-0.12.0 on a Windows 7 64-bit system. As instructed in the read me, I can set up an exchange and a queue, and publish a message which is successfully queued according to the RabbitMQ manager.
However, these messages are never processed. Clearly there is something fundamental that I'm misunderstanding.
I'm using the default config file provided in the read me (albeit with my exchange name rather than "X").
Here's my code snippet:
What needs to be done to actually send the mails? I've tried messing around with the hosted SMTP server using telnet, but that doesn't seem to be able to queue my mails at all.
Apparently the delimiter is not detected?... Sending mails works just fine using SMTPlib and another locally hosted SMTP server (hMailServer) on a different port. What am I doing wrong?