close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Advice on undelivered emails

Thread began 2/20/2014 3:26 pm by iainmacdonald331081 | Last modified 2/21/2014 1:44 pm by Jason Byrnes | 728 views | 13 replies |

iainmacdonald331081

Advice on undelivered emails

This is really an issue with emails not being delivered, rather than anything with UE not working.

I have a set up where an email gets triggered by a form submission that we know is working from testing.

But we know that someone didn't get the email, which logs indicate was due to grey listing at the recipient' send. Unfortunately it looks like the grey listing is preventing it ever being delivered.

The odd thing is that a regular email sent from a computer using the address arrives, but the email generated by the script does not, which seems odd and suggests there's something in the script contributing to the issue.

Which in turn is odd, because I know the emails do get delivered in testing.

So I'm not sure if there's an obvious answer to this one, but if anyone has any experience with a similar issue that might be a help I'd appreciate any suggestions.

Sign in to reply to this post

Jason ByrnesWebAssist

"The odd thing is that a regular email sent from a computer using the address arrives, but the email generated by the script does not, which seems odd and suggests there's something in the script contributing to the issue."


Actually, this suggests that 2 different SMTP servers are being used, the one the script uses to send the email has that address grey listed, but the one your email client connects to does not.



really isn't anything that can be done about it other than setting universal email to use a different SMTP server or contacting the host to have that address removed from the grey list.

Sign in to reply to this post

iainmacdonald331081

Thanks Jason - that makes sense with the SMTP servers.

This has always worked out of the box, but looking at the UE behaviour settings I can see that no SMTP info is used.

So I have asked the hosting company for the settings I should use here for emails being sent directly from the server.

In theory, if this info is missing from any email headers that might be what is getting them flagged as suspect by some recipient's servers. So hopefully adding them will resolve the issue.

Sign in to reply to this post

Jason ByrnesWebAssist

leaving the smtp settings empty just tells the script to use the defaults from the php.ini file. it would have nothing to do with the address being flagged, that is on the smtp server end.

Sign in to reply to this post

iainmacdonald331081

Oh well, so much for that theory!

Would using mail or PEAR Mail with SMTP make any difference?

The only other thing I can think of is that I know the emails for the domain are running off Google's email servers, rather than the host's own servers.

If these emails get sent directly from the host server would they be using the host server's SMTP settings from the php.ini file, whereas an email sent from a computer using the same address would use Google's SMTP settings.

In which case entering the Google server's SMTP settings in the UE behaviour settings might help?

Or am I barking up the wrong tree again?

Sign in to reply to this post

Jason ByrnesWebAssist

the method of connecting to the smtp server makes no difference.

It is the specific SMTP server that is being used to relay the email.


"whereas an email sent from a computer using the same address would use Google's SMTP settings."

only if you use Gmail as your mailing client.


it is possible to use the gmail smtp server for sending emails if you use the Pear Mail for SMTP mail object.

you need to enable authentication, use your gmail address and password as the username / password.

set the smtp server to:

ssl://smtp.gmail.com and use port 465

Sign in to reply to this post

iainmacdonald331081

I'll need to check with the site owner, but I'm not sure it has to do with gmail.

If the email is being sent direct from the server using UE, that is using the default SMTP settings of the host server?

What SMTP settings are getting used if I send an email from the same address from my computer?

Sign in to reply to this post

Jason ByrnesWebAssist

"What SMTP settings are getting used if I send an email from the same address from my computer?"

whatever your email client is configured to use.

if you use gmail as the email client, it will use the gmail servers.

Sign in to reply to this post

iainmacdonald331081

It's an interesting question actually - I'll see if I can find out, then in theory I can use those in UE.

Sign in to reply to this post

Jason ByrnesWebAssist

"then in theory I can use those in UE."

maybe, maybe not. the SMTP server may not accept the connection from a web script, or you may need to use Pear Mail if it requires authentication.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...