w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
ImageMagick installation MediaTemple GridServer
Ok, I got this working but it was a bit tricky. Here goes... First, you'll want to install ImageMagick from source. This step may be optional if you already have access to 'MagickWand-config', but it wasn't in my path. Here were the steps I followed to install it into an alternate directory on the (gs): Note: As of this post, the latest release was 6.8.9.3. $ wget http://www.imagemagick.org/download/ImageMagick-6.8.9-3.tar.gz $ tar xvfz ImageMagick-6.8.9-3.tar.gz $ cd ImageMagick-6.8.9-3 $ mkdir /home/#####/etc/imagemagick $ ./configure --prefix=/home/#####/etc/imagemagick $ make $ make install The Imagick PHP class is a PECL extension so we will install it using the provided KB from Media Temple with one change. Here are the steps: $ export SITEID=`pwd | awk -F/ '{ print $3 }'` $ ex

Categories : PHP

Artisan db:seed (Laravel 4) receiving error on mediatemple gridserver even though php version is 5.5.0
The command line is pointing to a different PHP file compared to your HTTP server. You'll need to talk to your server host and tell them your command line PHP version is 5.3.26 but you need it to be at least 5.4. Its up to them if they can change it or not. If you are unable to change your command line PHP version - you could possibility do the artisan commands via the web using this package: https://github.com/jn-Jones/web-artisan http://forums.laravel.io/viewtopic.php?id=10334 Or the other option is just change your array from [] to array() - and let it use 5.3

Categories : PHP

DB:seed file for Laravel 4 working fine on local host, not working on Mediatemple gridserver?
That syntax error you get is probably caused by a feature that has been added in PHP 5.4 (short array syntax), so I'd guess your hoster still runs 5.3.x. You should check the PHP version on the mediatemple grid server and update it if necessary.

Categories : Laravel

What email server or online email service allows for creating unlimited email alias for an inbox (via API)
One option to consider is to setup a mail server using qmail, configured as a catch-all for your domain, such that all mail to *@yourdomain.tld forwards to a script which parses each incoming message, scrapes the to, from, subject, etc. logs the messages in your database, etc. It's easier than it sounds to setup. See How to setup a mail server?. This can be done fairly inexpensively on a Rackspace or AWS cloud server.

Categories : Email

Rails: How to pass sender email and receiver email with unsubscribe link in email
Just add whatever it is that identifies your subscription to the url as a GET parameter, then generate the page accordingly. You might want to use some sort of token system if you want to prevent anyone from being able to unsubscribe anyone else just by inputting the target email in the url though.

Categories : Ruby On Rails

Jenkins email configuration - Test email configuration succeeds but email is not recieved by user
In order to get this to work, a valid email must be entered into the "System Admin e-mail address" field. That field is on the same page but is located in another section higher up. Without doing so, I too received a message that the email was successfully sent but I never received it. Once I set it, the test emails started to be received properly.

Categories : Jenkins

Is there an implementable (non-theoretical) way to prove if email address belong to real email account?
email admins may elect to have all attempt to send an "OK" even if the the address you are sending to does not exist. I do this in part to make it harder for spammers to "learn" the address in my domain. A better practice would be to require registration via a web form with captcha (of some kind) that then sends a verification email, rather then accepting mass registration via email. (if you are not doing this already). If you have a sufficient history to build off of, you might want to create a black list of known bad email address to reference prior to sending. How many of your registrants are mailadmin@yourdomain.com or root@google.com? For my business, we host a SMTP server locally to avoid costs associated with failed delivery on legitimate email campaigns. Otherwise I would be

Categories : Java

Facebook Session object has "email" permission but Request.executeMeRequestAsync(...) returns no email
The issue is described here: https://developers.facebook.com/bugs/482815835078469/ and one of the commenters, Mai Khánh, writes: I found why this happened, please thumbs up so that support team can be noticed. 1/ Go to this link: https://www.facebook.com/settings?tab=account&section=email&view. 2/ Look at Primary email editing form, if the radio button isn't checked by default, the bug will appear. I think this is cause by facebook system sometime confusing when a facebook account has more than 1 email. My temp solution: Add more random email to that account -> the form will ask you to select primary email -> choose primary email -> fill in passwork, then submit -> done. The point is if you just check primary account without adding another random ema

Categories : Android

Rails 3.2: Devise signup breaks when name or email not unique or email is fake (FriendlyID)
So FriendlyId was choking on creating multiple iterations of a certain slug (got stuck after henry and henry--2, henry--3 was throwing an error) for some unknown reason. I fixed the issue by changing the slug attribute to email, running a find_each(&:save) to clear out the current slugs and then doing the same after returning the slug back to name. This fixed the issue it seems. Going forward I am going to switch to unique usernames because using names (which do not have to be unique) is too ugly. Thanks for the help @bdares and @vinodadhikary

Categories : Ruby On Rails

How to use matlab to send email through Outlook and with some excel tables shown in the body of email
I recommend you take a look at function xlsread, documented here. After reading the desired contents of the xlsx page, you can format them as an html table and put it in mail.HTMLBody.

Categories : Excel

Checking if user's email address matches any existing email addresses in database
You have to enclose a string value in quotes, otherwise it will surely be a syntax error that you get. Your PHP syntax is fine, MySQL is not $sql = "SELECT customer_id FROM customer WHERE customer_email = '".mysqli_real_escape_string($db,$_POST['email'])."'"; Also later down in your code you have mysql_num_rows, which shuld be mysqli_num_rows like this $num_rows = mysqli_num_rows($result);

Categories : PHP

send email button not working, either opens desired url or sends email, not both simultaneously
In the third html block, the redirection works because it is a simple hyperlink because <input type=button> defines a clickable button (mostly used with a JavaScript to activate a script). Therefore no form will be submitted but the hyperlink will work. In the second html block, the hyperlink wont work because <input type=submit> will make it a submit button with a default behavior of submitting the form to the action file and so the hyperlink won't work. I know this doesn't answer the question but just felt like telling you the reasons.

Categories : PHP

Email: legitimate duplicate email header keys with mutually exclusive values
Ya there are other headers that can appear more than once and is clearly explained here in RFC 5322 Headers that can appear more then once comments keywords optional-field trace resent-date resent-from resent-sender resent-to resent-cc resent-bcc resent-msg-id Check the link above for more clarity.

Categories : Email

How to retrieve email address after the recipient click on a button inside email
If you generate the emails dynamically, you can add a token to the url that is unique to each email address you send to. Your landing page will use the tokens to register a hit to a database. On another note, please remember to handle information like email addresses with great care (i.e. securely), for example when storing them in a database.

Categories : Email

Sharepoint 2010 Foundation SBS 2011 email error sending email
1) Check that your smtp server is setup in Central Admin > Outgoign email settings. Verify BOTH the farm and web application settings. 1a) Check the FROM address has been set. 2) verify the users have the correct SMTP address 3) Use SMTPTest Tool / Telnet to send a test email to the same SMTP server in 1 using an address from 2) I konw you've said you've done this but you've likely missed something - http://sharepointalert.info/troubleshooting-sharepoint-alerts/

Categories : Sharepoint

Facebook Email field return null (even if the “email” permission is set and accepted)
In some cases Facebook may not have a valid email address for a user: email: string containing a valid RFC822 email address - note: this field may be null if no email address is available for the user see https://developers.facebook.com/docs/reference/api/user/

Categories : Facebook

Forward email using Amazon SES: 554 Message rejected: Email address is not verified.
Not a lot of options here. Amazon SES is a mail notification service more than a pure SMTP server. Because of this, all of your from emails/domains must be previously verified and all of your mail sessions must be properly authenticated. The only alternative i can figure out is to configure postfix as a proxy instead of a relay, so it replaces the from header with a well known address, verified by SES, and properly authenticates in SES.

Categories : Email

Outlook - Save file from email with .xls attachment and from specific sender then move email to sub folder
I have tried to set a rule in outlook but it doesn't filter on the sender nor if it has an attachment. Create a rule calling the following script. It will run on all incoming mail but only execute your code for whatever email address you look for Sub checkEmailSenderAndDoStuff(myItem As MailItem) 'set this up as a script to run on all incoming mail Dim myTargetEmailAddress As String myTargetEmailAddress = "whatever@wherever.com" 'this will check if the sender email is whatever sender 'you want to check from If myItem.SenderEmailAddress = myTargetEmailAddress Then 'do whatever you wanted to do with attachments, moving, etc End If End Sub

Categories : Vba

Trying to send email through PHP using an email address that is configured on Microsoft's SMTP servers (@live.com, @outlook.com, etc.)
PHP uses the SMTP server specified in the php.ini. Most often, it's localhost, which uses the hosting server's own SMTP server. Check the response of the mail function (true/false) to make sure that the email is going through, and check the mail log of the server to see if there's an error there. You can see http://www.phpclasses.org/blog/package/9/post/1-Sending-email-using-SMTP-servers-of-Gmail-Hotmail-or-Yahoo-with-PHP.html for information how to use Hotmail as the SMTP server.

Categories : PHP

HTML 5 form to PHP email script sends blank email with undefined variable error
Try setting $email = ""; $author = ""; $visitor_email = ""; $comment = ""; at the beginning of your script. Also I'm wondering if you are intending to send the email even if information is not being supplied. If that is the case then the $comment = $_POST['comment']; $comment = wordwrap($comment, 70); Should move outside of the if.... if you want to only send if all of the information is supplied then you need to move everything else into the if

Categories : HTML

HTML Email image not showing on mobile email clients
Both iPhone and Android 4 default client support media queries, so that isn't the issue. It just seems like your media query is not firing. Not sure what you have your media queries set to, but this should work fine for those devices: @media only screen and (max-width: 479px) { display:table-cell !important; } Don't forget the !important part. There is also a difference between max-device-width and max-width, so just check what your ranges are for each device.

Categories : HTML

Testing email contact form with JWebUnit without sending the email
There is nothing built into JSP/Servlets that will let this happen automatically; Rails is a framework, while JSP/Servlets is lower-level. But your app presumably has a few environment-specific properties stored in a text file or database; if you create a boolean one like suppressMailSend and then use this boolean to control whether your mail-sending code actually sends the mail (and perhaps logs the message to your app logs if not), that'd do it. (A helpful thing can also be to conditionally send these mails not to their intended recipient but to yourself -- with the "real" recipient addr appended to the subject line so you know to whom the mail would be sent to in production -- helpful if you want to see what the sent mails look like.)

Categories : Jsp

avoiding the junk email folders for important email notifications
Also, check that the DNS of the server forwards and reverses correctly. If not, most spam filters will not consider your server to be a 'real' mail server, and will most likely flag any message sent from your server as spam. This is how many spam filters block spam that originates from computers that have been taken over as 'zombies'. For example, consider a message received from a mail server at 209.85.160.173 (which happens to be a Gmail mail server). A spam filter on the receiving end might check to see if this is likely a 'real' mail server by doing a reverse DNS lookup on 209.85.160.173. This resolves to mail-gh0-f173.google.com. Then, if you do a DNS lookup of mail-gh0-f173.google.com, you get 209.85.160.173, which is the original IP. So, that's right. Make sure the DNS of yo

Categories : Javascript

Send an alert email based on incoming outlook email using VBA
I presume you are asking for Outlook VBA codes. This sounds like something possible as I wrote myself Outlook VBA to do basic Active Directory operations to Users (unlock, change/reset password) - I send email to myself with username and instruction then seconds later the outcome will be emailed to me. Note that even with completed VBA codes, you need to setup Outlook Rules to run the VBA code and you must have an Outlook session open as it cannot be done in server. This also means you need a computer running Outlook 24/7 to accomplish this. It won't be possible to produce complete VBA code if no actual .msg files can be tested. But something to get you started... (have not completely tested) Private Const sLookUp = "Automatic1 " Public Sub Rules_Automatic2(oMailAuto2 As MailItem)

Categories : Vba

How can i allow user to authenticate using email and some other field in devise instead of email and password?
As I answered before, you can override find_first_by_auth_conditions method in User model. See my previous answer please. Is there a solution for Rails Gem Devise to allow a user to have multiple emails?

Categories : Ruby On Rails

get list of email addresses in email client using Account in android
Try the following: Pattern emailPattern = Patterns.EMAIL_ADDRESS; // API level 8+ Account[] accounts = AccountManager.get(context).getAccounts(); for (Account account : accounts) { if (emailPattern.matcher(account.name).matches()) { String possibleEmail = account.name; ... } } Note that this requires the GET_ACCOUNTS permission: <uses-permission android:name="android.permission.GET_ACCOUNTS" />

Categories : Android

Open in outllok using javamail api an attached email containing email as attachment
I'm not quite sure what you're trying to accomplish with addAllBodyParts. It sems that you're just creating a new message with the same content as the original message. It's not clear what you do with that new message after you create it, but why not just use the original (attachment) message object? MimeMessage attachedMsg = (MimeMessage)mimePart.getContent(); I don't know how you tell Outlook to display a single message, but you can write the message to a file using the writeTo method.

Categories : Java

email match with confirm email address in contact form
Try out this <div class="required"> <label for="email">email</label><input type='email' id='p1'><br /><br /> <label for="email">Confirm email</label><input type='email' onfocus="validateMail(document.getElementById('p1'), this);" oninput="validateMail(document.getElementById('p1'), this);"> </div> function validateMail(p1, p2) { if (p1.value != p2.value || p1.value == '' || p2.value == '') { p2.setCustomValidity('email incorrect'); } else { p2.setCustomValidity(''); } }

Categories : Email

MembershipUser.Email returns null even when email is stored in database
The methods you are using are for traditional ASP.NET membership, not SimpleMembership. Here is the way to get that information from SimpleMembership. var user = context.UserProfiles.SingleOrDefault(u => u.UserName == username); var email = user.Email; You can read more about accessing and customizing UserProfile here. There is also an article on setting up password reset for SimpleMembership here and the source code is available here.

Categories : C#

Do email clients all return custom headers on email replies?
You cannot guarantee what any given client will do, so I'd hazard a guess at "no"; particularly so since, whether retaining of custom headers is in the specification or not, applications are wont for not adhering to specifications here and there. So, there is no guarantee, it is up to the clients implementation.

Categories : C#

sending email from g-mail host to five different email accounts using c#
You're storing the mailMessage as a property of the Form, and the address is getting changed by another thread before it's actually sent. Adding the MessageBox lets one thread finish befiore another one starts. Just change sentMail to create a new MailMessage instead of reusing the existing one and you should be fine: public partial class Form1 : Form { Thread t = null; //MailMessage mailMessage; <-- take out this line void sentEmail(Object array) { Object[] o = array as Object[]; SmtpClient client = new SmtpClient(); client.EnableSsl = true; client.Host = "smtp.gmail.com"; client.Port = 587; client.Credentials = new NetworkCredential(textBox4.Text, textBox5.Text); MailMessage mailMessage = new MailMessage(new

Categories : C#

Not able to send/receive email from Jenkins using Email-ext plugin
You need to upgrade Jenkins. Your version is too old for the version of the email-ext plugin that you're using. See https://issues.jenkins-ci.org/browse/JENKINS-18728

Categories : Email

Attach image file to email form via PHP email
You can take any file that you upload and save it to disk thereby making it available to any other form you might have on your website. See http://www.tizag.com/phpT/fileupload.php for a tutorial on how to setup your php to upload a file. Create Form Upload file and save to disk on your server. Create your email form Read from disk the file you want to attach. Use Swiftmailer http://swiftmailer.org/ to create your email and attach files from php.

Categories : PHP

Links in HTML email broken in some email clients
Maybe try the following: I see that you haven't closed the anchor tag. If outlook is stripping the url, you should try using a shorter url (using a url shortner service)

Categories : Email

Codeigniter email always sends from 'my@gmail.com' instead of the input email given
My guess is that Gmail restricts any arbitrary "from" address. Why ? To prevent spoofing. (Imagine if it were possible, you could send anyone an email from "big_bank@blabla.com"...) EDIT : A quick google search yielded this : How to change from-address when using gmail smtp server Google rewrites the From and Reply-To headers in messages you send via it's SMTP service to values which relate to your gmail account. The SMTP feature of gmail isn't intended to be an open or relay service. If it allowed any values for the From header, it would significantly dilute Google's standing with spam services, as there would be no way to verify the credentials of the sender. Source : http://stackoverflow.com/a/1332803/2615399 Tl;dr : you can't (...using gmail).

Categories : PHP

How email a PHP webpage with correct format to any email client?
You need to use inline css, a lot of web email providers disable css style in style block like: <style> </style> So, really you need: <td style="color: red;">-1</td> for each. Also, it has been pointed out that this creation can be done purely in PHP. Although, it doesn't seem like you're having a problem with that. If you use all inline styles, you will be fine. When you pull the data out of the DB, just construct your rows that way: $tableRows = ''; foreach($dbRows as $row) { $number = $row['number']; if ($number < 0) { $tableRows .= '<tr><td style="color: red;">'.$number.'</td></tr>'; } else { $tableRows .= '<tr><td>'.$number.'</td></tr>'; } } //$tableRows will contain all o

Categories : PHP

get email id's into an array from multiple checkboxes to send email
This $options[] = isset($_POST['options[]']) && $_POST['options[]'] ? "1" : "0"; is incorrect. The [] will be stripped off the form names and turned into an array. You use $_POST['options'][$i] to access the individual elements.

Categories : Arrays

Python3 multipartmime email (text, email, and attachment)
I found this has in fact been answered. Strange how the search feature is less effective than the 'related' boxes. Python: Sending Multipart html emails which contain embedded images

Categories : Python

Setting up a CCNET email publisher convertor to use the git email
At the time of this answer it does not appear to be possible to to hook into the Git author and email to parse out the email address with CCNET. The workaround is to get a list of all the committers to your Git repository and enter them like so under the element. The name must match the name of the user's name in the commit exactly, including case. Do not specify a group for these users if you want them to receive emails only for builds in which they contributed a commit. <email includeDetails="TRUE" subjectPrefix="CCNET Project "> <from>mybuild@starfleet.com</from> <mailhost>email.starfleet.com</mailhost> <users> <!-- Do NOT specify a group to send an email to these folks if and only if they have committed changes tha

Categories : GIT

link email address and send email via outlook
I use this method to send my e-mails... note that this is not specifically for Outlook... it will use whichever software is the default e-mail program that is set on the user's computer: public bool SendEmail(List<string> toAddresses, List<string> ccAddresses, string fromAddress, string emailSubject, string emailBody, bool isBodyHtml) { MailMessage email = new MailMessage(); email.From = new MailAddress(fromAddress); foreach (string address in toAddresses) email.To.Add(new MailAddress(address)); foreach (string address in ccAddresses) email.CC.Add(new MailAddress(address)); email.BodyEncoding = Encoding.UTF8; email.IsBodyHtml = false; email.Subject = emailSubject; email.Body = emailBody; email.Priority = MailPriority.Low; SmtpClient smtp

Categories : Wpf



© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.