Maian Script World on Facebook Maian Script World on Twitter Maian Script World - Latest News Maian Script World on YouTube Maian Script World on LinkedIn


Please Read

You are required to register before you can post. This is via a custom verification system. Please post any problems you are encountering here and I`ll do my best to respond as soon as I can. Please note that a reply WILL be posted to all queries, so do not double post. There are no guarantees when a reply will appear but I do my best to answer all within 3/4 days max. Bumping topics won`t make the slightest difference.

IMPORTANT: Posts in English ONLY please, thank you! Any other languages will be ignored and your message deleted.
SEARCH: Use the search option to see if your question has been answered on the forum before. Or check the relevant script docs.
CUSTOMER: If you have purchased a commercial version of any of my software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
PRIVATE MESSAGES: Private messages are currently disabled.
LINKS: Any links posted are 'NOFOLLOW' and will not be picked up by search engines.

You are not logged in.

#26 13-02-2012 10:29:43

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,063

Re: How to use SMTP

It looks as though your ISP forbids the sending of mail through another smtp server?


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#27 13-02-2012 10:41:40

Klauwaart
Members
From: United Kingdom (Great Britain)
Registered: 22-10-2007
Posts: 184

Re: How to use SMTP

Would that be it then?

Who knows, I seem to have to use the O2 server in my email client too, for all adresses bar the ones that use Gmail.
However, I have tried the O2 SMTP server in the script too, also with no result (might have made mistakes in the script, of course).

However, my son just told me that the Gmail servers can be tricky in themselves too.

Offline

#28 13-02-2012 14:51:30

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,063

Re: How to use SMTP

Klauwaart wrote:

Would that be it then?

Who knows, I seem to have to use the O2 server in my email client too, for all adresses bar the ones that use Gmail.
However, I have tried the O2 SMTP server in the script too, also with no result (might have made mistakes in the script, of course).

However, my son just told me that the Gmail servers can be tricky in themselves too.

Yes, I`ve heard the same thing. Its not something I would ever use myself. Could be an ISP issue then, in which case you probably won`t be able to do much.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#29 14-02-2012 18:02:20

Klauwaart
Members
From: United Kingdom (Great Britain)
Registered: 22-10-2007
Posts: 184

Re: How to use SMTP

Well, I was lucky, the owner of my hosting company has written a few lines of code, and now I use the script through my O2 server.

Works fine, only causes a bit of a delay when you click "Send card", and seems to affect the "Advanced date" Cron job (I will probably find a cure for that), but at least there are no more blocked addresses.

Also, could you tell me if i have done evrything correct in the following code (from the cron job) with the closing brackets and semicolons, as I can really not see the wood through the trees with all those brackets in it:

$MAIANSEND->send_mail(PHPMAILER,$MAIANSEND->char_back($MAIANSEND->strip_slashes($CARDS['vname'])),$CARDS['vemail'],$MAIANSEND->char_back($MAIANSEND->strip_slashes($SETTINGS->website)),$SETTINGS->email,str_replace("%d", $MAIANSEND->char_back($MAIANSEND->strip_slashes(($CARDS['rname'] ? $CARDS['rname'] : $CARDS['accname']))), $msg_ecard65),$MAIANSEND->email_message('../templates/email/notification.txt.txt'.(isset($_COOKIE['language_file'])&&$_COOKIE['language_file']=='nl.php'?'_nl':'').'.txt')
);
));

Thanks.

Last edited by Klauwaart (14-02-2012 18:24:25)

Offline

#30 16-02-2012 12:53:58

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,063

Re: How to use SMTP

Klauwaart wrote:

Well, I was lucky, the owner of my hosting company has written a few lines of code, and now I use the script through my O2 server.

Ok, thats good news. Code seems ok at first glance.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#31 16-02-2012 13:23:54

Klauwaart
Members
From: United Kingdom (Great Britain)
Registered: 22-10-2007
Posts: 184

Re: How to use SMTP

Thanks.
All is working fine now.

The only (very minor thing) is the delay when clicking the "Send" button, which goes away when PHPMAILER is set to 0, but then the sending also stops working.

However, like I said, it is a minor thing.

Offline

#32 16-02-2012 16:11:33

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,063

Re: How to use SMTP

Set to 0 your system would use the native PHP mail function, set to 1 its SMTP. So I guess the delay is authentication of the SMTP server?


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#33 16-02-2012 16:50:01

Klauwaart
Members
From: United Kingdom (Great Britain)
Registered: 22-10-2007
Posts: 184

Re: How to use SMTP

That's what I thought too.

Thanks.

Last edited by Klauwaart (16-02-2012 17:34:24)

Offline

#34 16-02-2012 19:36:30

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,063

Re: How to use SMTP

Ok, well glad its sorted anyway. smile


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#35 16-02-2012 19:39:32

Klauwaart
Members
From: United Kingdom (Great Britain)
Registered: 22-10-2007
Posts: 184

Re: How to use SMTP

Yes, I have a fully working script now, with every single detail working as it should.

A few updates here and there wouldn't go amiss, though. smile

Offline

#36 17-02-2012 08:15:22

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,063

Re: How to use SMTP

lol, I know what you mean.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#37 17-02-2012 10:18:26

Klauwaart
Members
From: United Kingdom (Great Britain)
Registered: 22-10-2007
Posts: 184

Re: How to use SMTP

Glad you do, David. smile

However, lately I have noticed quite a few spammers have found the way to my e-card system, I assume they are human, because I use the captcha for sending cards (or would there be machines that can get round the captcha?), I even get notifications with attachments.

I obviously put them straight in the bin, but is there anything I can do against that?

Thanks.

Offline

#38 17-02-2012 12:50:58

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,063

Re: How to use SMTP

Yes, bots can read captcha`s now. They have been able to for awhile now. Not 100% reliable.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#39 17-02-2012 13:17:31

Klauwaart
Members
From: United Kingdom (Great Britain)
Registered: 22-10-2007
Posts: 184

Re: How to use SMTP

I hereby declare war on the bots then. sad

Last edited by Klauwaart (17-02-2012 13:21:05)

Offline

#40 17-02-2012 15:30:11

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,063

Re: How to use SMTP

Klauwaart wrote:

I hereby declare war on the bots then. sad

Spam is a total nuisance, I have some routines running during the day that keep the forum clean, but the odd one slips through. Still, better than having a constant flood of spam to keep deleting.

I`m tempted to put the forum behind a password protected area and allow access to verified emails only. I am in the process of re-designing the site, so I`ll decide when I`m done.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#41 17-02-2012 15:36:13

Klauwaart
Members
From: United Kingdom (Great Britain)
Registered: 22-10-2007
Posts: 184

Re: How to use SMTP

Good on you!!!

Now some script updates and you are a millionair smile.

Offline

#42 17-02-2012 19:23:09

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,063

Re: How to use SMTP

Klauwaart wrote:

Good on you!!!

Now some script updates and you are a millionair smile.

I doubt it. Have a good weekend. smile


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#43 18-02-2012 10:12:48

Klauwaart
Members
From: United Kingdom (Great Britain)
Registered: 22-10-2007
Posts: 184

Re: How to use SMTP

Yes, you too.

Offline

Board footer

2Checkout.com is an authorized reseller of goods and services provided by Maian Script World.© 2003-2013 David Ian Bennett. All Rights Reserved | Forum: FluxBB

Privacy Policy | Refund Policy