Contact Admin

Issues: email delivery - Contact Admin

Issues: email delivery

by peopleinside » Tue Jul 10, 2018 7:46 am

Hi, thank you for this plugin.
I never understand the logic of phpbb that allow spamming on the contact admin page without provide any tool also for ban IP that are doing abuse.

- 1 issue: the form is sent from visitor email address, this create delivery issue. Can you please implement send by SMTP as the default contact form?

-2 issue: Once user send the form and confirmation message is showed if the forum is not loaded again from some one and page is closed no mail is sent.

3 - can be usefull add IP ban in case of the abuse of the contact form also with the captcha.
User avatar
peopleinside
Registered User
Posts: 192
Joined: Sat Jan 31, 2015 10:37 pm
Name: Marco
Contact:

Re: Issues: email delivery

by peopleinside » Tue Jul 10, 2018 10:05 am

If issue 2 cannot be resolved will be great disable all form field and show only an information page where i suggest to visitor to use mine ticket system as the contact form of phpbb is giving a lot of issues.

If the point 2 can be solve will be great. Email notification should be sent immediately as soon the confirmation message is showed as happen with the original contact form.
User avatar
peopleinside
Registered User
Posts: 192
Joined: Sat Jan 31, 2015 10:37 pm
Name: Marco
Contact:

Re: Issues: email delivery

by RMcGirr83 » Tue Jul 10, 2018 11:28 am

It doesn't send the email immediately as it uses the queue. To change that change this line in the file
https://github.com/rmcgirr83/contactadm ... r.php#L454
to this

Code: Select all

$messenger = new \messenger(false);
as far as "issue 1", that isn't an issue at all.
https://wiki.phpbb.com/Sending_e-mails# ... il_Headers
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Issues: email delivery

by peopleinside » Tue Jul 10, 2018 11:40 am

Hi RMcGirr83 ,
thank you for your message! :)

When the message is in queue this mean will be sent also if no one visit the forum or need someone visit the forum?
Seems message are not sent until i visit the forum.

I don't understand how I can set the from email address as is used in the standard contact form SMTP send.
Thanks
User avatar
peopleinside
Registered User
Posts: 192
Joined: Sat Jan 31, 2015 10:37 pm
Name: Marco
Contact:

Re: Issues: email delivery

by RMcGirr83 » Tue Jul 10, 2018 11:43 am

peopleinside wrote:When the message is in queue this mean will be sent also if no one visit the forum or need someone visit the forum?
Change that line and the messages will be sent immediately and won't use the queue.
I don't understand how I can set the from email address as is used in the standard contact form SMTP send.
Why does that matter? Wouldn't you prefer to know whom the email came from that way you can simply reply to it and it will go out to the one who originally contacted you?

You are free to take the code and modify it to suit your needs.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact: