ZenphotoCMS Forum
phpmailer - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html)
+--- Thread: phpmailer (/thread-6229.html)

Pages: 1 2


phpmailer - eric bullet - 04-12-2009

i need to use php mailer on my site where can i find the plug in that's shown here:
http://www.zenphoto.org/2009/12/phpmailer/

according to this: http://www.zenphoto.org/documentation/plugins/_zp-extensions---PHPMailer.php.html
it's here:
Source Location: /zp-extensions/PHPMailer.php
but the are no folders named zp-extensions as far as i can tell.




phpmailer - sbillard - 05-12-2009

If you have no folder named zp-extensions then you must not be using the current release. ([b]NOTE:[/b] it is for reasons like this that we request you provide us with details of your installation. But I guess you did not read the forum rules posting that says "Read before posting".)




phpmailer - eric bullet - 07-12-2009

sorry. i'm using 1.2.6
after downloading 1.2.7 i see this folder inside of zp-core..




phpmailer - acrylian - 07-12-2009

Well, phpmailer requires 1.2.7 of course.




phpmailer - eric bullet - 08-12-2009

New Question:
I'm having trouble getting phpmailer to send mail. I am using php 5.
Mail protocol SMTP .
Mail pssword is correct
Mail user is correct
Outgoing mail server is correct
POP port 110
Secure mail tried both
SMTP port 25

according to this from my host:
http://www.webhost4life.com/HostingKB/KnowledgebaseArticle50140.aspx
there needs to be a "from" ( $mail->From="youremail@yourdomain.com" )
i'm just guessing at the problem. any ideas?




phpmailer - sbillard - 08-12-2009

The plugin does provide a "from" so perhaps you have not got one set in your configuration




phpmailer - eric bullet - 08-12-2009

the only fields that display are:
Mail protocol POP3 SMTP SendMail Mail protocal to use.
Mail pssword Password for mail server.
Mail user User ID for mail server.
Outgoing mail server Outgoing mail server.
POP port POP port number.
Secure mail Set to use SSL protocol.
SMTP port

there is no from field.
there are a lot of spelling errors BTW.




phpmailer - sbillard - 08-12-2009

Well, of course there would not be a "from" email address associated with the plugin. That would be provided by the function which is sending the mail. Kind of like the same reason there is not a "to" address in the options!

there are a lot of spelling errors BTW. Don't suppose you would mind saying what.




phpmailer - eric bullet - 09-12-2009

protocal
pssword




phpmailer - eric bullet - 09-12-2009

So, back to my original question.
I'm having trouble getting phpmailer to send mail. I am using php 5. All my settings in the field are correct.
any ideas?




phpmailer - sbillard - 09-12-2009

So, what is the context of your sendmails? Presumably you have not set a "from" address for that context. For instance, do you have admin emails setup? do you have a contact email address setup? ....




phpmailer - eric bullet - 09-12-2009

yes. I have email set up on my site.
I'm not sure if the "from" is the problem. that was a guess.
I'm not sure if i am understanding you correctly.

does the admin user email need to be the same?




phpmailer - sbillard - 09-12-2009

Well, since you have not yet answered the question of what the mail context is that is failing it is hard to help. If it is an admin mail then of course you need to have setup a mail address for the admin. If it is some other context then that context will need the "from" part specified.




phpmailer - eric bullet - 09-12-2009

i changed the admin email to the same as the email i put in phpmailer options.
the error message i get is:
PHPMailer failed to send test (mywebsite). ErrorInfo:SMTP Error: The following recipients failed: myemail@gmail.com

i have set up the email address on our mail server which is mail.mywebsite.com
i sent a test email from my personal email to the admin email wih out a problem.

where can i specify the "from" part?

Quote: So, what is the context of your sendmails?

I'm not clear on what you mean by this.

the email address specified in the contact form is the same as the mail user in php mailer.




phpmailer - sbillard - 09-12-2009

So your server is rejecting emails from the contact. You will have to configure your server to allow that if you want people to send you emails.




phpmailer - eric bullet - 10-12-2009

so according to my host:
Your form is using the visitor as From address, please check the codes of your contact form. The From address should be the admin email.
I guess that's just there thing?

Can you give me a hint as to where I need to change this on PHPMailer.php




phpmailer - sbillard - 10-12-2009

That would be the case. The mail is "from" the person trying to contact "to" you the admin. You have to change this is the register user plugin, it is not an issue of the php mailer. So you would change it instead to "from" you "to" you with the contactor not in the loop?




phpmailer - eric bullet - 11-12-2009

so according to my host (my email) is your "From" Address for the website. Because you are sending from that address.




phpmailer - eric bullet - 11-12-2009

i guess FromName="My site's mailer"




phpmailer - eric bullet - 11-12-2009

do i perhaps need to add this to class.phpmailer.php?