UVdesk Problem

Hello :wave:!!

I know this post might not belong in here but more on Uvdesk GitHub discussions but I just want to make sure of something.

So, i’ve been trying to setup Uvdesk SMTP and overall mail setup for the system to work properly for the past 3 days but haven’t gotten to work as expected. I am not sure if it is because I am configuring it incorrectly or something else.

I saw somewhere in the Infinityfree forum that IMAP function is disabled on free hosting I thought maybe this was the issue?

Basically the issue is, SMTP or mailing isn’t working at all making the system not work properly. There is no Email(s) sent to the customer’s email or spam Or it could just be a bug with the script. I just wanted to make sure that is not infinityfree security blocking the system in some way before finally giving up. :sweat_smile:

I maybe thought the issue was the SMTP not working. But, I tested the SMTP in another SMTP tester online and it worked fine. Maybe its something I’m not understanding? Either way, any help would be greatly appreciated! :pray:

I apologize if I talked too much and not gave so much information as I should of have.

Website:
https://contact.crazydev.org

Please read

5 Likes

IMAP and SMTP are different protocols. They are both related to email, and that’s basically where their similarities end. IMAP doesn’t work on our hosting, but SMTP does.

Just so I know what class of issues we can rule out: what did this SMTP tester actually do? Did you plug in your SMTP credentials, use it to send an email, and you were able to receive the email? Or did it test something else?


Here are some other things you could try:

  • On our hosting, using SMTP with port 587 and TLS or STARTTLS encryption usually works best. Other ports like 25, 465 and 2525 are blocked I think, and port 587 always uses STARTTLS encryption.
  • Can you try setup a test address at https://mail-tester.com and try to send a message to it? If your message is considered spam, that service will tell you what you can improve, instead of just silently discarding it like some email providers do.
  • Does your SMTP account have a sent folder or message log you could check to see if the message was delivered to the provider who you’re trying to use to send email?

There could be a lot of configuration differences between your website and an online testing service, which could all result in your message not being sent or not being delivered.

This goes doubly so if the software you’re using doesn’t have a convenient “send test message” function, and you’re forced to test using other notifications which may or may not be sent depending on other configuration.

6 Likes

Hello! :wave: :sweat_smile:

So, yes the SMTP did send a email and I was able to interact with it and everything.

I use Mailgun as my SMTP provider but I don’t think that would be an issue… would it?

I configured SwiftMailer and one Mailbox with [email protected]. For “Email settings”, I set it up as:

as SMTP didn’t seem to work, but this also seems to not be working as well. :sweat_smile: : This time I used GMAIL as shown in this image

The password was a GMAIL app password. Article of refernce The same email and password were used for SwiftMailer and Mailbox.

When SMTP was configured I was using port 587 and TLS as Mailgun suggested.

Well…


Indeed, it does. But, there are no records of an email being delivered nor failing.

Nope! Mailgun is a great choice, and probably a better fit than Gmail.

You currently have two DMARC records setup. That’s definitely wrong, and you’ll probably want to remove the one that only says v=DMARC1;p=none;, but I don’t think it’s related to the issue.

That’s very useful to know. Then it seems like Mailgun is able to send mail, but the messages from UVDesk are not reaching Mailgun.

Does UVDesk have a function to send a test email? Or are you able to trigger an email in another way?

What do you see if you try to send that email? Does UVDesk say it was successfully sent?

5 Likes

I will make sure to remove it to avoid any type of issues. Thanks! :pray:

Unfortunately, Uvdesk itself does not provide a test email function as such. I am able to trigger an email by creating a test ticket and replying to the ticket to see if I receive any email(s) at all.

It just says “Success! Ticket has been created successfully” and from there we would go from email. But, since no emails are being delivered, customers can’t get their credentials to log into uvdesk as customers nor can they reply to the confirmation message of a new ticket being created for them.

The workflow looks something like:

See for example, if it is the first time for the user creating a ticket, it should send them an email like:

{%global.companyLogo%}



Thank you for joining!!



Hello {%user.userName%},



Your account has been successfully created. We welcome you to the community of {%global.companyName%}.



It is our privilege to have you as our customer. We are pretty much sure that you will love the fact that how simple it is to get started with the services. We are dedicated to making your working life simpler.



Click on the link to set your password {%user.accountValidationLink%}  and get started with the {%global.companyName%}  services.



Hoping that you will enjoy this experience.



Thanks and Regards

{%global.companyName%}

“Bug” with script?

I’ve checked their recent GitHub discussions posts and there seems to be a few Q&A/reports about emails function not working correctly as it should. I saw this particular one where it says that data for Email settings isn’t being saved, when we first input it and save it, once we refresh, its gone. That also happens with some SwiftMailer & Mailboxes data, once we refresh some data isn’t there anymore. Not sure if it is as privacy measures or something else.

Misconfiguration

I doubt its misconfiguration from our end unless there is something I am not personally understanding or the docs aren’t clear enough haha. :sweat_smile:
Can happen. :sweat_smile:

I’m having a hard time pinpointing this issue on anything specific. The lack of an easy email tester is difficult. Having to create a ticket, which then triggers an even, which triggers an action, which sends a customer notification, are quite a few moving parts which could break or simply be misconfigured.

There seems to be a php bin/console swiftmailer:email:send command that UVDesk provides to send a (test?) email, but there is no way to run commands here.


There is one thing to try, but it might be a bit too complicated: you could try running the website locally with the same code and configuration and see if you can send email there. If it does, you can be pretty sure it’s an issue with our hosting, but if it doesn’t work, then the issue is within UVDesk.

3 Likes

Its alright. Thanks for helping, anyway. :sweat_smile:
Have a wonderful rest of your weekend.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.