Register Module

andymedia

Joined: 2009-01-02
Posts: 88
Posted: Mon, 2013-04-15 20:41

hi i have the following problem. When someone fill in the register page to set up an account so there can buy photos. http://www.crayfordmedia.com/main.php?g2_view=core.UserAdmin&g2_subView=register.UserSelfRegistration&g2_return=%2Fgallery2%2Fmain.php%3F

My website is http://www.crayfordmedia.com

The only problem that if the user got an hotmail address, it seems to not go through.

Gallery URL = http://www.crayfordmedia.com/gallery2/main.php
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.17 cgi-fcgi
Webserver = Apache/2.4.4 (Unix)
Database = mysqlt 5.5.30-log, lock.system=flock
Toolkits = Exif, Getid3, LinkItemToolkit, Thumbnail, ImageMagick, Gd
Acceleration = full/21600, full/21600
Operating system = Linux web246.extendcp.co.uk 2.6.32-220.13.1.el6.x86_64 #1 SMP Thu Mar 29 11:46:40 EDT 2012 x86_64
Default theme = carbon
gettext = enabled
Locale = en_GB
Browser = Mozilla/5.0 (Windows NT 6.2; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0
Rows in GalleryAccessMap table = 12023
Rows in GalleryAccessSubscriberMap table = 102173
Rows in GalleryUser table = 129
Rows in GalleryItem table = 102021
Rows in GalleryAlbumItem table = 441
Rows in GalleryCacheMap table = 1809

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2013-04-15 21:46

That would not be a gallery issue, gallery does not care who the email recipient is.
It would be more likely hotmail thinks your email is spam.

If some hacker currently or in the past used your domain to send spam you may be blacklisted you can check here.
You can search the web to find ways to resolve these issues.

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
andymedia

Joined: 2009-01-02
Posts: 88
Posted: Mon, 2013-04-15 21:50

Hey it saying it not blacklisted.

It used to work but now stop working.

 
andymedia

Joined: 2009-01-02
Posts: 88
Posted: Mon, 2013-04-15 21:55

any idea what i need to look on the web to fix this?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Mon, 2013-04-15 22:00

you can check you mail server to see why they bounced, or ask your host.

I can confim - I just registered w/ hotmail addy and did not get email.

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
andymedia

Joined: 2009-01-02
Posts: 88
Posted: Mon, 2013-04-15 22:04

i am asking them as we speak but thought i ask as well.

i was did you get another email saying your account is ok?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2013-04-16 00:00

I did not get any emails from your site.

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
andymedia

Joined: 2009-01-02
Posts: 88
Posted: Tue, 2013-04-16 06:30

ok thanks for that, any idea of what i can do to fix this?

 
andymedia

Joined: 2009-01-02
Posts: 88
Posted: Tue, 2013-04-16 06:33

hi i got the following replying from my host/mail server

" It looks like your site runs on some Gallery software that I'm not familiar with. Do you have an admin control panel to log into to change settings? Such as how the form sends email?"

How do i change the settings?

 
andymedia

Joined: 2009-01-02
Posts: 88
Posted: Tue, 2013-04-16 06:58

i got the following from ym hosting company

" Please ask the script developers on how to change how the email is sent - most decent scripting that incorporates mailouts will provide a choice between sending via localhost or SMTP (and an authenticated mailbox) - it's probably a configuration script somewhere."

Any idea of how this is done?

Many thanks

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2013-04-16 12:36

Gallery Admin -> General -> Email

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
andymedia

Joined: 2009-01-02
Posts: 88
Posted: Tue, 2013-04-16 15:02

ok i found it, but i got an issue that anyone places an order on the site will get emails from

and when you signed up an account you get an email from

What the best way if i got more than one email address?

 
andymedia

Joined: 2009-01-02
Posts: 88
Posted: Tue, 2013-04-16 15:43

hi i got it working but the email is going into my spam folder and dispaly the following

"From:

Microsoft SmartScreen classified this message as junk.
Sent: 16 April 2013 16:39:42
To:

subjectline : Account activation‏

Microsoft SmartScreen marked this message as junk and we'll delete it after ten days.
Wait, it's safe!|I'm not sure. Let me check

Hello test123,

You receive this email because you have registered at http://www.crayfordmedia.com/gallery2/main.php
Your username is: test123

To finish the registration process please click the following link:
http://www.crayfordmedia.com/gallery2/main.php?g2_controller=register.ConfirmRegistration&g2_username=test123&g2_key=G3665992&g2_authToken=8a388662577b

If you did not register at this site then please ignore this email. The registration will not become valid and you will not receive any further emails. Sorry for the inconvenience.

Thank you!"

how do i not make this spam?

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2013-04-16 16:44

ask microsoft

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
andymedia

Joined: 2009-01-02
Posts: 88
Posted: Tue, 2013-04-16 17:23

How do i do the following

a) Ensuring you send mail through a mailserver (not webserver) and ensure SMTP authentication is enabled

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2013-04-16 17:33
suprsidr wrote:
Gallery Admin -> General -> Email

Ask your host about authentication

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
andymedia

Joined: 2009-01-02
Posts: 88
Posted: Tue, 2013-04-16 17:41

i got the following

2Thanks for your reply.

I am sorry but we are not web developers and cannot advise on coding solutions.

All I could provide here is an example of an SMTP authenticating script:

=========================================================================
<?php
include("Mail.php");
/* mail setup recipients, subject etc */

$recipients = "Recipient@Recipient.com";
$headers["From"] = "mail@example.co.uk"; $headers["To"] = "Recipient@Recipient.com";
$headers["Subject"] = "User feedback";
$headers ["Content-type"] = "text/html\r\n";

//begin of HTML message
$message = <<<EOF
<html>
<body bgcolor="#DCEEFC">
<center>
<b>I am reciving HTML email......</b> <br>
</center>
<br><br>
</body>
</html>
EOF;
//end of messag

/* SMTP server name, port, user/passwd */ $smtpinfo["host"] = "mail.example.co.uk"; $smtpinfo["port"] = "25"; $smtpinfo["auth"] = true; $smtpinfo["username"] = "mail@example.co.uk"; $smtpinfo["password"] = "password";
/* Create the mail object using the Mail::factory method */ $mail_object =& Mail::factory("smtp", $smtpinfo);
/* Ok send mail */
$mail_object->send($recipients, $headers, $message); ?>

=========================================================================

The script above with the host, Username and password set for a valid email address would relay any message generated to the user given to send out the email.2

Thanks for your reply.

PHP script itself cannot be viewed other than via the file manager so the password is secured. Web browsers do not allow php to be readable to prevent web viewers from knowing what is processing. You can set this to a send only email address if you create one in the extend hosting.

This does not go in the email. The above is a php script. Your Mailing script that is currently used to send emails would need to be directly edited to make it SMTP authenticate.

As I have mentioned, we ourselves are not coders or web developers so direct coding support is not possible. What I have supplied is just a basic php script which would SMTP authenticate. Any changes to the site would need to be done by a coder.

so how do i edit the emails that gallery is sending out

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2013-04-16 17:51

No.
Gallery Admin -> General -> Email
enter your SMTP info
it is usually something like:
Server: mail.example.com or example.com:25
Username: my_name or

Password: ********
SMTP From Address:

you may have to ask your host for the server

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
andymedia

Joined: 2009-01-02
Posts: 88
Posted: Tue, 2013-04-16 18:14

oh right, i done all that from the host company apart from the port number.

also is there anything else i can do to try to reduce the risk of my emails that get set from gallery marked as spam